1 |
# $Id: smeserver-yum.spec,v 1.2 2016/02/07 12:10:35 vip-ire Exp $ |
# $Id: smeserver-yum.spec,v 1.16 2017/03/29 20:26:56 unnilennium 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 3 |
%define release 15 |
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 |
|
Patch5: smeserver-yum-2.6.0.bz8705.avoidReboot.patch |
19 |
|
Patch6: smeserver-yum-2.6.0.bz10119.scloGPGkey.patch |
20 |
|
Patch7: smeserver-yum-2.6.0.bz10156.remContrib.patch |
21 |
|
Patch8: smeserver-yum-2.6.0.bz8705.avoidReboot-fixKeyError.patch |
22 |
|
Patch9: smeserver-yum-2.6.0.bz8705.avoidReboot-service-names.patch |
23 |
|
Patch10: smeserver-yum-2.6.0.bz8705.smeserver-locale.avoidreboot.patch |
24 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
37 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
38 |
Obsoletes: yum-protect-packages <= 1.1.16 |
Obsoletes: yum-protect-packages <= 1.1.16 |
39 |
Requires: mailx |
Requires: mailx |
40 |
|
Requires: deltarpm |
41 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
42 |
BuildRequires: python |
BuildRequires: python |
43 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
48 |
%prep |
%prep |
49 |
%setup |
%setup |
50 |
%patch0 -p1 |
%patch0 -p1 |
51 |
|
%patch1 -p1 |
52 |
|
%patch2 -p1 |
53 |
|
%patch3 -p1 |
54 |
|
%patch4 -p1 |
55 |
|
%patch5 -p1 |
56 |
|
%patch6 -p1 |
57 |
|
%patch7 -p1 |
58 |
|
%patch8 -p1 |
59 |
|
%patch9 -p1 |
60 |
|
%patch10 -p1 |
61 |
|
|
62 |
%build |
%build |
63 |
perl createlinks |
perl createlinks |
73 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
74 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
75 |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
76 |
|
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
77 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
78 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
79 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
93 |
|
|
94 |
|
|
95 |
%changelog |
%changelog |
96 |
|
* Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
97 |
|
- avoid reboot for smeserver-locale upgrade [SME: 8705] |
98 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
99 |
|
|
100 |
|
* Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
101 |
|
- correct service names with plugin to avoid reboot [SME: 8705] |
102 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
103 |
|
|
104 |
|
* Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
105 |
|
- fix KeyError with plugin to avoid reboot [SME: 8705] |
106 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
107 |
|
|
108 |
|
* Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
109 |
|
- remove centos contrib repo [SME: 10156] |
110 |
|
|
111 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
112 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10119] |
113 |
|
- will allow to install SCL packages directly from smecontribs |
114 |
|
|
115 |
|
* Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme |
116 |
|
- Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705] |
117 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
118 |
|
- Avoid to reboot after the installation of a smeserver-* package |
119 |
|
|
120 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
121 |
|
- add Remi Collet RPM GPG KEY [SME: 9903] |
122 |
|
|
123 |
|
* Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme |
124 |
|
- Rpm updates can be downloaded during the night [SME: 1502] |
125 |
|
- Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch |
126 |
|
|
127 |
|
* Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
128 |
|
- Deltarpm is now a setting in the yum panel (disabled by default) |
129 |
|
- Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834] |
130 |
|
|
131 |
|
* Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
132 |
|
- adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533] |
133 |
|
|
134 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
135 |
|
- Rebuild [SME: 9393] |
136 |
|
|
137 |
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
138 |
- yum points now to SME10 mirrors [SME: 9377] |
- yum points now to SME10 mirrors [SME: 9377] |
139 |
- moved changelog at the end of file |
- moved changelog at the end of file |