1 |
# $Id: smeserver-yum.spec,v 1.3 2016/03/23 12:10:51 unnilennium Exp $ |
# $Id: smeserver-yum.spec,v 1.7 2016/08/04 19:35:11 stephdl Exp $ |
2 |
|
|
3 |
%define name smeserver-yum |
%define name smeserver-yum |
4 |
Summary: YUM, an rpm updater |
Summary: YUM, an rpm updater |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 4 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: SMEServer/addon |
Group: SMEServer/addon |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: smeserver-yum-2.6.0.SME10.patch |
Patch0: smeserver-yum-2.6.0.SME10.patch |
14 |
|
Patch1: smeserver-yum-2.6.0.SME10CentOS7EPEL7Keys.rpm |
15 |
|
Patch2: smeserver-yum-2.6.0.bz8834.DeltaRpm.patch |
16 |
|
Patch3: smeserver-yum-2.6.0.bz1502.DownloadOnly.patch |
17 |
|
Patch4: smeserver-yum-2.6.0.bz9903.remiGPG.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
30 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
31 |
Obsoletes: yum-protect-packages <= 1.1.16 |
Obsoletes: yum-protect-packages <= 1.1.16 |
32 |
Requires: mailx |
Requires: mailx |
33 |
|
Requires: deltarpm |
34 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
35 |
BuildRequires: python |
BuildRequires: python |
36 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
41 |
%prep |
%prep |
42 |
%setup |
%setup |
43 |
%patch0 -p1 |
%patch0 -p1 |
44 |
|
%patch1 -p1 |
45 |
|
%patch2 -p1 |
46 |
|
%patch3 -p1 |
47 |
|
%patch4 -p1 |
48 |
|
|
49 |
%build |
%build |
50 |
perl createlinks |
perl createlinks |
60 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
61 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
62 |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
63 |
|
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
64 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
65 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
66 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
80 |
|
|
81 |
|
|
82 |
%changelog |
%changelog |
83 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
84 |
|
- add Remi Collet RPM GPG KEY [SME: 9903] |
85 |
|
|
86 |
|
* Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme |
87 |
|
- Rpm updates can be downloaded during the night [SME: 1502] |
88 |
|
- Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch |
89 |
|
|
90 |
|
* Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
91 |
|
- Deltarpm is now a setting in the yum panel (disabled by default) |
92 |
|
- Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834] |
93 |
|
|
94 |
|
* Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
95 |
|
- adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533] |
96 |
|
|
97 |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
98 |
- Rebuild [SME: 9393] |
- Rebuild [SME: 9393] |
99 |
|
|