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