1 |
# $Id: smeserver-yum.spec,v 1.79 2021/12/20 14:15:50 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 60 |
%define release 62 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 |
141 |
%patch47 -p1 |
%patch47 -p1 |
142 |
%patch48 -p1 |
%patch48 -p1 |
143 |
%patch49 -p1 |
%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 |
|
* 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 |
* 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] |
- restart cvm-unix on cvm or bglibs update [SME: 11886] |
192 |
|
|