1 |
brianr |
1.1 |
|
2 |
|
|
Summary: smeserver - check updates of external repositories |
3 |
|
|
%define name smeserver-check4updates |
4 |
|
|
Name: %{name} |
5 |
|
|
%define version 0.0.4 |
6 |
brianr |
1.3 |
%define release 4 |
7 |
brianr |
1.1 |
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
License: GPL |
10 |
|
|
Group: Networking/Daemons |
11 |
|
|
Source: %{name}-%{version}.tar.gz |
12 |
brianr |
1.3 |
Patch0: smeserver-check4updates-0.0.4-Add-Update-event-to-createlinks.patch |
13 |
brianr |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
|
|
Requires: e-smith-base |
15 |
|
|
Requires: smeserver-release >= 9 |
16 |
|
|
BuildRequires: e-smith-devtools |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
|
19 |
|
|
%description |
20 |
|
|
A rpm to check updates of external repositories |
21 |
|
|
|
22 |
|
|
%changelog |
23 |
brianr |
1.3 |
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.0.4-4.sme |
24 |
|
|
- Add Update event to createlinks [SME: 11299] |
25 |
|
|
|
26 |
|
|
* Wed Mar 24 2021 BogusDateBot |
27 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
28 |
|
|
by assuming the date is correct and changing the weekday. |
29 |
|
|
|
30 |
brianr |
1.2 |
* Sat Jan 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.0.4-3.sme |
31 |
|
|
- Initial Import to SME10 [SME: 11299 ] |
32 |
|
|
|
33 |
brianr |
1.1 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-2.sme |
34 |
|
|
- Initial release to contribs9 |
35 |
|
|
|
36 |
|
|
* Sat Feb 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-1.sme |
37 |
|
|
- Added the list of exclusion in the email |
38 |
|
|
|
39 |
|
|
* Wed Dec 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.3-1.sme |
40 |
|
|
- Changed the db name check4update to check4updates |
41 |
|
|
|
42 |
|
|
* Tue Dec 9 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.2-1.sme |
43 |
|
|
- Added an exclude list of rpm |
44 |
|
|
|
45 |
|
|
* Mon Dec 8 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-1.sme |
46 |
|
|
- Initial release to sme9 |
47 |
|
|
|
48 |
|
|
%prep |
49 |
|
|
%setup |
50 |
brianr |
1.3 |
%patch0 -p1 |
51 |
brianr |
1.1 |
|
52 |
|
|
%build |
53 |
|
|
perl createlinks |
54 |
|
|
|
55 |
|
|
%install |
56 |
|
|
rm -rf $RPM_BUILD_ROOT |
57 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
58 |
|
|
rm -f %{name}-%{version}-%{release}-filelist |
59 |
|
|
/sbin/e-smith/genfilelist \ |
60 |
|
|
--file /sbin/e-smith/check4repositoriesupdates 'attr(0750,root,root)' \ |
61 |
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
62 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
63 |
|
|
|
64 |
|
|
%postun |
65 |
|
|
|
66 |
|
|
%clean |
67 |
|
|
rm -rf $RPM_BUILD_ROOT |
68 |
|
|
|
69 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
70 |
|
|
%defattr(-,root,root) |
71 |
|
|
|