1 |
# $Id: smeserver-yum.spec,v 1.2 2016/02/07 12:10:35 vip-ire Exp $ |
# $Id: smeserver-yum.spec,v 1.39 2019/12/06 22:30:24 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 3 |
%define release 26 |
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 |
|
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 |
|
Patch17: smeserver-yum-2.6.0-bz10742-openfusion.patch |
31 |
|
Patch18: smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch |
32 |
|
Patch19: smeserver-yum-2.6.0-bz9697.mirrorlist.patch |
33 |
|
Patch20: smeserver-yum-2.6.0.bz10249.CentOSVault.onEOL.patch |
34 |
|
Patch21: smeserver-yum-2.6.0.bz118.groupmark.patch |
35 |
|
Patch22: smeserver-yum-2.6.0.bz6940.mismatch.btwn.manager.and.cli.patch |
36 |
|
Patch23: smeserver-yum-2.6.0.bz10843.stripheader.patch |
37 |
|
|
38 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
39 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
40 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
47 |
Provides: check4updates |
Provides: check4updates |
48 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
49 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
50 |
|
Requires: yum-plugin-priorities |
51 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
52 |
Obsoletes: yum-protect-packages <= 1.1.16 |
Obsoletes: yum-protect-packages <= 1.1.16 |
53 |
|
Requires: yum-plugin-post-transaction-actions |
54 |
Requires: mailx |
Requires: mailx |
55 |
|
Requires: deltarpm |
56 |
|
Requires: yum-cron |
57 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
58 |
BuildRequires: python |
BuildRequires: python |
59 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
64 |
%prep |
%prep |
65 |
%setup |
%setup |
66 |
%patch0 -p1 |
%patch0 -p1 |
67 |
|
%patch1 -p1 |
68 |
|
%patch2 -p1 |
69 |
|
%patch3 -p1 |
70 |
|
%patch4 -p1 |
71 |
|
%patch5 -p1 |
72 |
|
%patch6 -p1 |
73 |
|
%patch7 -p1 |
74 |
|
%patch8 -p1 |
75 |
|
%patch9 -p1 |
76 |
|
%patch10 -p1 |
77 |
|
%patch11 -p1 |
78 |
|
%patch12 -p1 |
79 |
|
%patch13 -p1 |
80 |
|
%patch14 -p1 |
81 |
|
%patch15 -p1 |
82 |
|
%patch16 -p1 |
83 |
|
%patch17 -p1 |
84 |
|
%patch18 -p1 |
85 |
|
%patch19 -p1 |
86 |
|
%patch20 -p1 |
87 |
|
%patch21 -p1 |
88 |
|
%patch22 -p1 |
89 |
|
%patch23 -p1 |
90 |
|
|
91 |
|
|
92 |
%build |
%build |
103 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
104 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
105 |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
106 |
|
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
107 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
108 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
109 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
123 |
|
|
124 |
|
|
125 |
%changelog |
%changelog |
126 |
|
* Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-26.sme |
127 |
|
- use yum-cron with autoupdate feature [SME: 10690] |
128 |
|
* use yum-cron for download only or auto update |
129 |
|
* yum-cron.conf templates |
130 |
|
* update lock path |
131 |
|
* settings in server-manager |
132 |
|
* remove yumdownloadonly script and crontab template |
133 |
|
|
134 |
|
* Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-25.sme |
135 |
|
- fix typo on patch [SME: 10249] |
136 |
|
|
137 |
|
* Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-24.sme |
138 |
|
- fix header detected as package [SME: 10843] |
139 |
|
- avoid discrepancy between manager, cli and email [SME: 6940] |
140 |
|
* force refresh of metadata before db generation |
141 |
|
* add regeneration of db during check4updates, after yum update/install/remove |
142 |
|
- fix no installed groups file [SME: 118] |
143 |
|
- switch to centos vault after EOL [SME: 10249] |
144 |
|
- update http://mirrorlist.contribs.org/mirrorlist to https://mirrorlist.koozali.org/mirrorlist [SME: 9697] |
145 |
|
- make smecontribs visible [SME: 10716] |
146 |
|
|
147 |
|
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-22.sme |
148 |
|
- add openfusion gpg key [SME: 10742] |
149 |
|
|
150 |
|
* Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-21.sme |
151 |
|
- updated EOL patch [SME: 10170] |
152 |
|
|
153 |
|
* Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme |
154 |
|
- add yum-priority as requirement [SME: 6499] |
155 |
|
add support for plugin priority using property priority im yum_repositories db |
156 |
|
initial priority to 10 for sme*, base and updates repos. |
157 |
|
property yum priority set as enabled as default |
158 |
|
- avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388] |
159 |
|
- update check4contribs email format to match check4updates [SME: 8782] |
160 |
|
- improve yum plugin to avoid reboot [SME: 8705] |
161 |
|
add nut support, add exclusions for -doc, -devel... subpackages |
162 |
|
|
163 |
|
* Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme |
164 |
|
- add message to indicate EOL after Jun 30 2024 fix [SME: 10170] |
165 |
|
|
166 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme |
167 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 1100] |
168 |
|
|
169 |
|
* Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme |
170 |
|
- add rpmfusion free el7 RPM GPG KEY [SME: 10263] |
171 |
|
|
172 |
|
* Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
173 |
|
- avoid reboot for smeserver-locale upgrade [SME: 8705] |
174 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
175 |
|
|
176 |
|
* Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
177 |
|
- correct service names with plugin to avoid reboot [SME: 8705] |
178 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
179 |
|
|
180 |
|
* Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
181 |
|
- fix KeyError with plugin to avoid reboot [SME: 8705] |
182 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
183 |
|
|
184 |
|
* Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
185 |
|
- remove centos contrib repo [SME: 10156] |
186 |
|
|
187 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
188 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10119] |
189 |
|
- will allow to install SCL packages directly from smecontribs |
190 |
|
|
191 |
|
* Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme |
192 |
|
- Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705] |
193 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
194 |
|
- Avoid to reboot after the installation of a smeserver-* package |
195 |
|
|
196 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
197 |
|
- add Remi Collet RPM GPG KEY [SME: 9903] |
198 |
|
|
199 |
|
* Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme |
200 |
|
- Rpm updates can be downloaded during the night [SME: 1502] |
201 |
|
- Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch |
202 |
|
|
203 |
|
* Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
204 |
|
- Deltarpm is now a setting in the yum panel (disabled by default) |
205 |
|
- Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834] |
206 |
|
|
207 |
|
* Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
208 |
|
- adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533] |
209 |
|
|
210 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
211 |
|
- Rebuild [SME: 9393] |
212 |
|
|
213 |
* 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 |
214 |
- yum points now to SME10 mirrors [SME: 9377] |
- yum points now to SME10 mirrors [SME: 9377] |
215 |
- moved changelog at the end of file |
- moved changelog at the end of file |