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