1 |
# $Id: smeserver-yum.spec,v 1.78 2021/12/09 06:40:07 jpp Exp $ |
# $Id: smeserver-yum.spec,v 1.82 2022/04/24 14:01:58 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 59 |
%define release 63 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
59 |
Patch46: smeserver-yum-2.6.0-bz11790-Re-word-reboot-required-message.patch |
Patch46: smeserver-yum-2.6.0-bz11790-Re-word-reboot-required-message.patch |
60 |
Patch47: smeserver-yum-2.6.0-bz11803-spamd.patch |
Patch47: smeserver-yum-2.6.0-bz11803-spamd.patch |
61 |
Patch48: smeserver-yum-2.6.0-bz11808-remove-pop.patch |
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 |
140 |
%patch46 -p1 |
%patch46 -p1 |
141 |
%patch47 -p1 |
%patch47 -p1 |
142 |
%patch48 -p1 |
%patch48 -p1 |
143 |
|
%patch49 -p1 |
144 |
|
%patch50 -p1 |
145 |
|
# delete force/yum/AutoInstallUpdates bz11961 |
146 |
|
rm -rf 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 |
|
* Sun Apr 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-63.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 |
* 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] |
- remove pop3 and pop3s services from plugin [SME: 11808] |
195 |
|
|