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