1 |
# $Id: smeserver-yum.spec,v 1.67 2021/02/25 04:21:30 jpp Exp $ |
# $Id: smeserver-yum.spec,v 1.81 2022/04/17 18:06:55 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 48 |
%define release 62 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
50 |
Patch37: smeserver-yum-2.6.0-bz11364-bz11360.patch |
Patch37: smeserver-yum-2.6.0-bz11364-bz11360.patch |
51 |
Patch38: smeserver-yum-2.6.0-bz11372.patch |
Patch38: smeserver-yum-2.6.0-bz11372.patch |
52 |
Patch39: smeserver-yum-2.6.0-bz11466-bz11458.patch |
Patch39: smeserver-yum-2.6.0-bz11466-bz11458.patch |
53 |
|
Patch40: smeserver-yum-2.6.0-bz11477-migrateC6EOLrepo.patch |
54 |
|
Patch41: smeserver-yum-2.6.0-bz11507-navigation.patch |
55 |
|
Patch42: smeserver-yum-2.6.0-bz11510-donotstop.patch |
56 |
|
Patch43: smeserver-yum-2.6.0-bz11609.patch |
57 |
|
Patch44: smeserver-yum-2.6.0-bz11625-elrepoGPG.patch |
58 |
|
Patch45: smeserver-yum-2.6.0-bz11768.patch |
59 |
|
Patch46: smeserver-yum-2.6.0-bz11790-Re-word-reboot-required-message.patch |
60 |
|
Patch47: smeserver-yum-2.6.0-bz11803-spamd.patch |
61 |
|
Patch48: smeserver-yum-2.6.0-bz11808-remove-pop.patch |
62 |
|
Patch49: smeserver-yum-2.6.0-bz11886-cvm.patch |
63 |
|
Patch50: smeserver-yum-2.6.0-bz11951-bz11952.patch |
64 |
|
|
65 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
66 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
131 |
%patch37 -p1 |
%patch37 -p1 |
132 |
%patch38 -p1 |
%patch38 -p1 |
133 |
%patch39 -p1 |
%patch39 -p1 |
134 |
|
%patch40 -p1 |
135 |
|
%patch41 -p1 |
136 |
|
%patch42 -p1 |
137 |
|
%patch43 -p1 |
138 |
|
%patch44 -p1 |
139 |
|
%patch45 -p1 |
140 |
|
%patch46 -p1 |
141 |
|
%patch47 -p1 |
142 |
|
%patch48 -p1 |
143 |
|
%patch49 -p1 |
144 |
|
%patch50 -p1 |
145 |
|
# delete force/yum/AutoInstallUpdates bz11961 |
146 |
|
rm -rf root/smeserver-yum-2.6.0/root/etc/e-smith/db/configuration/force |
147 |
|
|
148 |
%build |
%build |
149 |
perl createlinks |
perl createlinks |
160 |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
161 |
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
162 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
163 |
--dir /var/log/yum 'attr(2750,smelog,smelog)' \ |
--dir /var/log/yum 'attr(2750,root,root)' \ |
164 |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
165 |
|
|
166 |
%clean |
%clean |
180 |
|
|
181 |
|
|
182 |
%changelog |
%changelog |
183 |
* Wed Mar 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-48.sme |
* Sun Apr 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-62.sme |
184 |
|
- remove force AutoInstallUpdates to disabled [SME: 11961] |
185 |
|
|
186 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-61.sme |
187 |
|
- fix rotate yum.log as not standard location [SME: 11951] |
188 |
|
- remove yum_update_dbs from messages log [SME: 11952] |
189 |
|
|
190 |
|
* Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-60.sme |
191 |
|
- restart cvm-unix on cvm or bglibs update [SME: 11886] |
192 |
|
|
193 |
|
* Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-59.sme |
194 |
|
- remove pop3 and pop3s services from plugin [SME: 11808] |
195 |
|
|
196 |
|
* Thu Dec 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-58.sme |
197 |
|
- fix restarting spamd instead of spamassassin [SME: 11803] |
198 |
|
|
199 |
|
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 2.6.0-57.sme |
200 |
|
- Re-word-reboot-required-message.patch [SME: 11790] |
201 |
|
|
202 |
|
* Sun Nov 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-56.sme |
203 |
|
- fix wrong qpsmtpd handling [SME: 11768] |
204 |
|
|
205 |
|
* Mon Jun 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-55.sme |
206 |
|
- add elrepo GPG key [SME: 11625] |
207 |
|
|
208 |
|
* Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-54.sme |
209 |
|
- no reboot needed for systemd-python [SME: 11609] |
210 |
|
|
211 |
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-53.sme |
212 |
|
- fix services stop on removal [SME: 11510] |
213 |
|
|
214 |
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-52.sme |
215 |
|
- run navigation-conf when a panel is installed [SME: 11507] |
216 |
|
|
217 |
|
* Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-51.sme |
218 |
|
- migrate back to normal CentOS mirrors after el6 EOL [SME: 11477] |
219 |
|
- version 2 with |
220 |
|
deleting yum{eolversion} if for previous release or not yet eol |
221 |
|
better handling of conditions |
222 |
|
|
223 |
|
* Wed Mar 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-49.sme |
224 |
- avoid reboot on removal of smeserver-* rpms [SME: 11458] |
- avoid reboot on removal of smeserver-* rpms [SME: 11458] |
225 |
- navigation-conf when a panel is installed |
- navigation-conf when a panel is installed |
226 |
|
|