1 |
slords |
1.1 |
# $Id: e-smith-test.spec,v 1.2 2008/10/07 19:23:22 slords Exp $ |
2 |
|
|
|
3 |
|
|
Summary: e-smith server and gateway - testing infrastructure module |
4 |
|
|
%define name e-smith-test |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 2.4.0 |
7 |
|
|
%define release 1 |
8 |
|
|
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: Artistic |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
|
|
BuildArchitectures: noarch |
15 |
|
|
Requires: perl |
16 |
|
|
Requires: perl(WWW::Automate) >= 0.20 |
17 |
|
|
Requires: perl(Test::Simple) >= 0.41 |
18 |
|
|
Requires: perl(Test::Inline) >= 0.14 |
19 |
|
|
Requires: perl(Test::Harness::Straps) >= 0.10 |
20 |
|
|
Requires: e-smith-lib >= 1.9.35 |
21 |
|
|
BuildRequires: e-smith-devtools >= 1.7.1 |
22 |
|
|
|
23 |
|
|
%description |
24 |
|
|
e-smith server and gateway software - testing infrastructure module. |
25 |
|
|
|
26 |
|
|
%changelog |
27 |
|
|
* Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
28 |
|
|
- Roll new stream for sme9 |
29 |
|
|
|
30 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
31 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
32 |
|
|
|
33 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
34 |
|
|
- Clean up spec so package can be built by koji/plague |
35 |
|
|
|
36 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
37 |
|
|
- Update to new release naming. No functional changes. |
38 |
|
|
- Make Packager generic |
39 |
|
|
|
40 |
|
|
* Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-01 |
41 |
|
|
- Roll stable stream version. [SME: 1016] |
42 |
|
|
|
43 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-07 |
44 |
|
|
- Bump release number only |
45 |
|
|
|
46 |
|
|
* Thu Sep 22 2005 Trevor Poole <trevorp@e-smith.com> |
47 |
|
|
- [1.0.1-06] |
48 |
|
|
- Rollback change to smoketest |
49 |
|
|
|
50 |
|
|
* Thu Sep 22 2005 Trevor Poole <trevorp@e-smith.com> |
51 |
|
|
- [1.0.1-05] |
52 |
|
|
- Add a sort to the test names in smoketest |
53 |
|
|
|
54 |
|
|
* Fri Aug 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
55 |
|
|
- [1.0.1-04] |
56 |
|
|
- Actually remove AutoReqProv header (see 1.0.1-02) |
57 |
|
|
|
58 |
|
|
* Tue Aug 2 2005 Shad Lords <slords@email.com> |
59 |
|
|
- [1.0.1-03] |
60 |
|
|
- Update for move of default database location. [SF: 1216546] |
61 |
|
|
|
62 |
|
|
* Sun Sep 19 2004 Charlie Brady <charlieb@e-smith.com> |
63 |
|
|
- [1.0.1-02] |
64 |
|
|
- Change deprecated "Copyright:" header to "License:". |
65 |
|
|
- Updated requires with new perl dependencies. [charlieb MN00040240] |
66 |
|
|
- Remove "AutoReqProv: no" so that "Provides" headers are auto-generated. |
67 |
|
|
[charlieb MN00040240] |
68 |
|
|
|
69 |
|
|
* Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com> |
70 |
|
|
- [1.0.1-01] |
71 |
|
|
- Rebuild [gordonr 1305] |
72 |
|
|
|
73 |
|
|
* Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com> |
74 |
|
|
- [1.0.0-04] |
75 |
|
|
- Revert unwanted code change in END block [gordonr 1305] |
76 |
|
|
|
77 |
|
|
* Wed Sep 3 2003 Gordon Rowell <gordonr@e-smith.com> |
78 |
|
|
- [1.0.0-03] |
79 |
|
|
- Copyright update [gordonr 1305] |
80 |
|
|
|
81 |
|
|
* Mon Feb 24 2003 Michael Soulier <msoulier@e-smith.com> |
82 |
|
|
- [1.0.0-02] |
83 |
|
|
- Remove deprecated WebServerName setting from canned test data. [charlieb 6861] |
84 |
|
|
- Removed any references to LocalDomainPrefix. [msoulier 4812] |
85 |
|
|
|
86 |
|
|
- [1.0.0-01] |
87 |
|
|
- Roll to maintained version number to 1.0.0 |
88 |
|
|
|
89 |
|
|
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
90 |
|
|
- [0.3.0-01] |
91 |
|
|
- Changing version to maintained stream number to 0.3.0 |
92 |
|
|
|
93 |
|
|
* Mon Jun 3 2002 Charlie Brady <charlieb@e-smith.com> |
94 |
|
|
- [0.2.0-01] |
95 |
|
|
- Changing version to maintained stream number to 0.2.0 |
96 |
|
|
|
97 |
|
|
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
98 |
|
|
- [0.1.23-01] |
99 |
|
|
- RPM rebuild forced by cvsroot2rpm |
100 |
|
|
|
101 |
|
|
* Thu May 9 2002 Michael Schwern <schwern@e-smith.com> |
102 |
|
|
- [0.1.22-01] |
103 |
|
|
- Updating necessary Test::Harness::Straps version to 0.10 |
104 |
|
|
[schwern 3408] |
105 |
|
|
|
106 |
|
|
* Mon May 6 2002 Michael Schwern <schwern@e-smith.com> |
107 |
|
|
- [0.1.21-01] |
108 |
|
|
- Fixed quicktest to use an absolute path to the CVS lib directory. |
109 |
|
|
Helpful or tests which chdir. [schwern 2743] |
110 |
|
|
|
111 |
|
|
* Thu May 2 2002 Michael Schwern <schwern@e-smith.com> |
112 |
|
|
- [0.1.20-01] |
113 |
|
|
- Fixed quicktest wrt files with spaces in the name [schwern] |
114 |
|
|
|
115 |
|
|
* Wed May 1 2002 Gordon Rowell <gordonr@e-smith.com> |
116 |
|
|
- [0.1.19-01] |
117 |
|
|
- esmith::AccountDB -> esmith::AccountsDB [schwern 3287] |
118 |
|
|
|
119 |
|
|
* Wed Apr 24 2002 Michael Schwern <schwern@e-smith.com> |
120 |
|
|
- [0.1.18-01] |
121 |
|
|
- quicktest now propagates the new libraris into any perl programs |
122 |
|
|
called in the tests [schwern] |
123 |
|
|
|
124 |
|
|
* Wed Apr 10 2002 Michael Schwern <schwern@e-smith.com> |
125 |
|
|
- [0.1.17-01] |
126 |
|
|
- Added a --verbose switch to quicktest [schwern] |
127 |
|
|
- quicktest now running tests with warnings on [schwern] |
128 |
|
|
|
129 |
|
|
* Sat Apr 6 2002 Gordon Rowell <gordonr@e-smith.com> |
130 |
|
|
- [0.1.16-01] |
131 |
|
|
- Rebuild with new e-smith-devtools to force permissions [gordonr] |
132 |
|
|
|
133 |
|
|
* Sat Apr 6 2002 Gordon Rowell <gordonr@e-smith.com> |
134 |
|
|
- [0.1.15-01] |
135 |
|
|
- Added execute permission for all for {quick,smoke}test [gordonr] |
136 |
|
|
|
137 |
|
|
* Fri Apr 5 2002 Michael G Schwern <schwern@e-smith.com> |
138 |
|
|
- [0.1.14-01] |
139 |
|
|
- Added -d option to quicktest for debugging [schwern] |
140 |
|
|
- Added scratch_copy() to esmith::TestUtils [schwern] |
141 |
|
|
|
142 |
|
|
* Fri Apr 05 2002 Gordon Rowell <gordonr@e-smith.com> |
143 |
|
|
- [0.1.13-01] |
144 |
|
|
- Run testing-conf in post-{install,upgrade} events rather than from %post |
145 |
|
|
Running it from %post won't work in a fresh install as the config |
146 |
|
|
database doesn't yet exist [gordonr] |
147 |
|
|
|
148 |
|
|
* Tue Apr 02 2002 Michael G Schwern <schwern@e-smith.com> |
149 |
|
|
- [0.1.12-01] |
150 |
|
|
- Added simulate_perl_program() to TestUtils [schwern] |
151 |
|
|
|
152 |
|
|
* Mon Apr 01 2002 Kirrily Robert <skud@e-smith.com> |
153 |
|
|
- [0.1.11-01] |
154 |
|
|
- Added destruction_ok() routine to TestUtils.pm [skud] |
155 |
|
|
|
156 |
|
|
* Fri Mar 15 2002 Michael G Schwern <schwern@e-smith.com> |
157 |
|
|
- [0.1.10-01] |
158 |
|
|
- quicktest now closes STDIN so tests don't block waiting for it (3042) |
159 |
|
|
- Fixed bug in Test::Harness::Straps so tests that die are failures (3034) |
160 |
|
|
|
161 |
|
|
* Wed Mar 13 2002 Michael G Schwern <schwern@e-smith.com> |
162 |
|
|
- [0.1.9-01] |
163 |
|
|
- Added files argument to quicktest [schwern] |
164 |
|
|
- 0.1.8-01 was tagged badly. esmith::TestUtils was accidentally dropped |
165 |
|
|
and the temporary quiktest was accidentally installed [schwern 3026] |
166 |
|
|
- Adding dependeny on e-smith-lib for esmith::ConfigDB in testing-conf |
167 |
|
|
[schwern] |
168 |
|
|
|
169 |
|
|
* Mon Mar 11 2002 Michael G Schwern <schwern@e-smith.com> |
170 |
|
|
- [0.1.8-01] |
171 |
|
|
- Added quicktest [schwern] |
172 |
|
|
- Added dependency on perl-Test-Harness-Straps [schwern] |
173 |
|
|
|
174 |
|
|
* Thu Feb 28 2002 Kirrily Robert <skud@e-smith.com> |
175 |
|
|
- [0.1.7-01] |
176 |
|
|
- General cleanup in esmith::TestUtils |
177 |
|
|
- moved dependency on e-smith-devtools from Requires to BuildRequires [skud] |
178 |
|
|
|
179 |
|
|
* Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com> |
180 |
|
|
- [0.1.6-01] |
181 |
|
|
- Botched the tagging again |
182 |
|
|
|
183 |
|
|
* Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com> |
184 |
|
|
- [0.1.5-01] |
185 |
|
|
- Added dependency on e-smith-devtools for genfilelist update |
186 |
|
|
- smoketest now looks for local Perl libraries |
187 |
|
|
- fixed the sanity test |
188 |
|
|
|
189 |
|
|
* Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com> |
190 |
|
|
- [0.1.4-01] |
191 |
|
|
- Botched the roll of 0.1.3-01 |
192 |
|
|
|
193 |
|
|
* Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com> |
194 |
|
|
- [0.1.3-01] |
195 |
|
|
- Fixed dependency on perl-Test-Simple [schwern] |
196 |
|
|
|
197 |
|
|
* Mon Feb 18 2002 Kirrily Robert <skud@e-smith.com> |
198 |
|
|
- [0.1.2-01] |
199 |
|
|
- Added an esmith::TestUtils perl module to assist in writing tests |
200 |
|
|
- Changes to the smoketest script; now accepts an optional directory to |
201 |
|
|
run tests from, among other (internal) changes |
202 |
|
|
|
203 |
|
|
* Mon Feb 18 2002 Kirrily Robert <skud@e-smith.com> |
204 |
|
|
- [0.1.1-01] |
205 |
|
|
- rollRPM: Rolled version number to 0.1.1-01. Includes patches up to 0.1.0-02. |
206 |
|
|
|
207 |
|
|
* Sun Oct 07 2001 Kirrily Robert <skud@e-smith.com> |
208 |
|
|
- Minor change to 00sanity.t as it didn't seem to like using Inline |
209 |
|
|
|
210 |
|
|
* Sun Oct 07 2001 Kirrily Robert <skud@e-smith.com> |
211 |
|
|
- Initial build |
212 |
|
|
|
213 |
|
|
%prep |
214 |
|
|
%setup |
215 |
|
|
|
216 |
|
|
%pre |
217 |
|
|
|
218 |
|
|
%post |
219 |
|
|
|
220 |
|
|
%build |
221 |
|
|
perl createlinks |
222 |
|
|
|
223 |
|
|
%install |
224 |
|
|
rm -rf $RPM_BUILD_ROOT |
225 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
226 |
|
|
rm -f e-smith-%{version}-filelist |
227 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > e-smith-%{version}-filelist |
228 |
|
|
echo "%doc Copying" >> %{name}-%{version}-%{release}-filelist |
229 |
|
|
echo "%doc Artistic" >> %{name}-%{version}-%{release}-filelist |
230 |
|
|
echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist |
231 |
|
|
|
232 |
|
|
%clean |
233 |
|
|
rm -rf $RPM_BUILD_ROOT |
234 |
|
|
|
235 |
|
|
%files -f e-smith-%{version}-filelist |
236 |
|
|
%defattr(-,root,root) |