1 |
# $Id: smeserver-yum.spec,v 1.4 2016/05/12 21:22:33 vip-ire Exp $ |
# $Id: smeserver-yum.spec,v 1.27 2019/01/26 20:06:26 jpp 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 5 |
%define release 21 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 |
|
Patch11: smeserver-yum-2.6.0.bz10263.rpmfusionfreeEL7.patch |
25 |
|
Patch12: smeserver-yum-2.6.0-bz10170-SME10eol.patch |
26 |
|
Patch13: smeserver-yum-2.6.0.bz6499.yum-plugin-priorities.patch |
27 |
|
Patch14: smeserver-yum-2.6.0.bz9388.no-double-contribs-check.patch |
28 |
|
Patch15: smeserver-yum-2.6.0.bz8782-check4contribs-formatting.patch |
29 |
|
Patch16: smeserver-yum-2.6.0.bz8705.avoidReboot-Nut-reboot-exclusions.patch |
30 |
|
|
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
33 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
40 |
Provides: check4updates |
Provides: check4updates |
41 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
42 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
43 |
|
Requires: yum-plugin-priorities |
44 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
45 |
Obsoletes: yum-protect-packages <= 1.1.16 |
Obsoletes: yum-protect-packages <= 1.1.16 |
46 |
|
Requires: yum-plugin-post-transaction-actions |
47 |
Requires: mailx |
Requires: mailx |
48 |
|
Requires: deltarpm |
49 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
50 |
BuildRequires: python |
BuildRequires: python |
51 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
57 |
%setup |
%setup |
58 |
%patch0 -p1 |
%patch0 -p1 |
59 |
%patch1 -p1 |
%patch1 -p1 |
60 |
|
%patch2 -p1 |
61 |
|
%patch3 -p1 |
62 |
|
%patch4 -p1 |
63 |
|
%patch5 -p1 |
64 |
|
%patch6 -p1 |
65 |
|
%patch7 -p1 |
66 |
|
%patch8 -p1 |
67 |
|
%patch9 -p1 |
68 |
|
%patch10 -p1 |
69 |
|
%patch11 -p1 |
70 |
|
%patch12 -p1 |
71 |
|
%patch13 -p1 |
72 |
|
%patch14 -p1 |
73 |
|
%patch15 -p1 |
74 |
|
%patch16 -p1 |
75 |
|
|
76 |
%build |
%build |
77 |
perl createlinks |
perl createlinks |
87 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
88 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
89 |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
90 |
|
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
91 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
92 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
93 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
107 |
|
|
108 |
|
|
109 |
%changelog |
%changelog |
110 |
|
* Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-21.sme |
111 |
|
- updated EOL patch [SME: 10170] |
112 |
|
|
113 |
|
* Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme |
114 |
|
- add yum-priority as requirement [SME: 6499] |
115 |
|
add support for plugin priority using property priority im yum_repositories db |
116 |
|
initial priority to 10 for sme*, base and updates repos. |
117 |
|
property yum priority set as enabled as default |
118 |
|
- avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388] |
119 |
|
- update check4contribs email format to match check4updates [SME: 8782] |
120 |
|
- improve yum plugin to avoid reboot [SME: 8705] |
121 |
|
add nut support, add exclusions for -doc, -devel... subpackages |
122 |
|
|
123 |
|
* Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme |
124 |
|
- add message to indicate EOL after Jun 30 2024 fix [SME: 10170] |
125 |
|
|
126 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme |
127 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 1100] |
128 |
|
|
129 |
|
* Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme |
130 |
|
- add rpmfusion free el7 RPM GPG KEY [SME: 10263] |
131 |
|
|
132 |
|
* Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
133 |
|
- avoid reboot for smeserver-locale upgrade [SME: 8705] |
134 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
135 |
|
|
136 |
|
* Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
137 |
|
- correct service names with plugin to avoid reboot [SME: 8705] |
138 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
139 |
|
|
140 |
|
* Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
141 |
|
- fix KeyError with plugin to avoid reboot [SME: 8705] |
142 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
143 |
|
|
144 |
|
* Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
145 |
|
- remove centos contrib repo [SME: 10156] |
146 |
|
|
147 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
148 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10119] |
149 |
|
- will allow to install SCL packages directly from smecontribs |
150 |
|
|
151 |
|
* Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme |
152 |
|
- Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705] |
153 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
154 |
|
- Avoid to reboot after the installation of a smeserver-* package |
155 |
|
|
156 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
157 |
|
- add Remi Collet RPM GPG KEY [SME: 9903] |
158 |
|
|
159 |
|
* Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme |
160 |
|
- Rpm updates can be downloaded during the night [SME: 1502] |
161 |
|
- Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch |
162 |
|
|
163 |
|
* Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
164 |
|
- Deltarpm is now a setting in the yum panel (disabled by default) |
165 |
|
- Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834] |
166 |
|
|
167 |
* Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
* Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
168 |
- adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533] |
- adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533] |
169 |
|
|