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