1 |
# $Id: smeserver-yum.spec,v 1.79 2021/12/20 14:15:50 jpp Exp $ |
# $Id: smeserver-yum.spec,v 1.86 2022/11/22 19:39:09 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.2 |
7 |
%define release 60 |
%define release 3 |
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.2-bz12179-smecontribs-enabled.patch |
14 |
Patch1: smeserver-yum-2.6.0.SME10CentOS7EPEL7Keys.rpm |
Patch1: smeserver-yum-2.6.2-bz12171_bz12209_no_reconfigure.patch |
|
Patch2: smeserver-yum-2.6.0.bz8834.DeltaRpm.patch |
|
|
Patch3: smeserver-yum-2.6.0.bz1502.DownloadOnly.patch |
|
|
Patch4: smeserver-yum-2.6.0.bz9903.remiGPG.patch |
|
|
Patch5: smeserver-yum-2.6.0.bz8705.avoidReboot.patch |
|
|
Patch6: smeserver-yum-2.6.0.bz10119.scloGPGkey.patch |
|
|
Patch7: smeserver-yum-2.6.0.bz10156.remContrib.patch |
|
|
Patch8: smeserver-yum-2.6.0.bz8705.avoidReboot-fixKeyError.patch |
|
|
Patch9: smeserver-yum-2.6.0.bz8705.avoidReboot-service-names.patch |
|
|
Patch10: smeserver-yum-2.6.0.bz8705.smeserver-locale.avoidreboot.patch |
|
|
Patch11: smeserver-yum-2.6.0.bz10263.rpmfusionfreeEL7.patch |
|
|
Patch12: smeserver-yum-2.6.0-bz10170-SME10eol.patch |
|
|
Patch13: smeserver-yum-2.6.0.bz6499.yum-plugin-priorities.patch |
|
|
Patch14: smeserver-yum-2.6.0.bz9388.no-double-contribs-check.patch |
|
|
Patch15: smeserver-yum-2.6.0.bz8782-check4contribs-formatting.patch |
|
|
Patch16: smeserver-yum-2.6.0.bz8705.avoidReboot-Nut-reboot-exclusions.patch |
|
|
Patch17: smeserver-yum-2.6.0-bz10742-openfusion.patch |
|
|
Patch18: smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch |
|
|
Patch19: smeserver-yum-2.6.0-bz9697.mirrorlist.patch |
|
|
Patch20: smeserver-yum-2.6.0.bz10249.CentOSVault.onEOL.patch |
|
|
Patch21: smeserver-yum-2.6.0.bz118.groupmark.patch |
|
|
Patch22: smeserver-yum-2.6.0.bz6940.mismatch.btwn.manager.and.cli.patch |
|
|
Patch23: smeserver-yum-2.6.0.bz10843.stripheader.patch |
|
|
Patch24: smeserver-yum-2.6.0.bz10690.autoinstall.patch |
|
|
Patch25: smeserver-yum-2.6.0.bz10873.php-fpm.patch |
|
|
Patch26: smeserver-yum-2.6.0.bz10846.templates.patch |
|
|
Patch27: smeserver-yum-2.6.0.bz10931.mdadm-in-dict.patch |
|
|
Patch28: smeserver-yum-2.6.0-bz11047-executeactions.patch |
|
|
Patch29: smeserver-yum-2.6.0-bz11121-expandmetadata.patch |
|
|
Patch30: smeserver-yum-2.6.0-bz11175-pre-and-post-actions.patch |
|
|
Patch31: smeserver-yum-2.6.0-bz11168-bz11179-remi-safe_and-event.patch |
|
|
Patch32: smeserver-yum-2.6.0.bz11227-eolvault.patch |
|
|
Patch33: smeserver-yum-2.6.0-bz11184-smeserver.py.patch |
|
|
Patch34: smeserver-yum-2.6.0-bz11180-yum-dbupdate-systemd.patch |
|
|
Patch35: smeserver-yum-2.6.0-bz11243-yum_update_dbs-fork-service.patch |
|
|
Patch36: smeserver-yum-2.6.0-bz11300-improve-postupdate-events.patch |
|
|
Patch37: smeserver-yum-2.6.0-bz11364-bz11360.patch |
|
|
Patch38: smeserver-yum-2.6.0-bz11372.patch |
|
|
Patch39: smeserver-yum-2.6.0-bz11466-bz11458.patch |
|
|
Patch40: smeserver-yum-2.6.0-bz11477-migrateC6EOLrepo.patch |
|
|
Patch41: smeserver-yum-2.6.0-bz11507-navigation.patch |
|
|
Patch42: smeserver-yum-2.6.0-bz11510-donotstop.patch |
|
|
Patch43: smeserver-yum-2.6.0-bz11609.patch |
|
|
Patch44: smeserver-yum-2.6.0-bz11625-elrepoGPG.patch |
|
|
Patch45: smeserver-yum-2.6.0-bz11768.patch |
|
|
Patch46: smeserver-yum-2.6.0-bz11790-Re-word-reboot-required-message.patch |
|
|
Patch47: smeserver-yum-2.6.0-bz11803-spamd.patch |
|
|
Patch48: smeserver-yum-2.6.0-bz11808-remove-pop.patch |
|
|
Patch49: smeserver-yum-2.6.0-bz11886-cvm.patch |
|
15 |
|
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
|
|
42 |
%prep |
%prep |
43 |
%setup |
%setup |
44 |
|
rm -rf root/var/service/ root/service/ |
45 |
|
rm -rf root/etc/e-smith/db/configuration/force |
46 |
%patch0 -p1 |
%patch0 -p1 |
47 |
%patch1 -p1 |
%patch1 -p1 |
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
|
%patch21 -p1 |
|
|
%patch22 -p1 |
|
|
%patch23 -p1 |
|
|
%patch24 -p1 |
|
|
%patch25 -p1 |
|
|
%patch26 -p1 |
|
|
%patch27 -p1 |
|
|
%patch28 -p1 |
|
|
%patch29 -p1 |
|
|
%patch30 -p1 |
|
|
%patch31 -p1 |
|
|
%patch32 -p1 |
|
|
%patch33 -p1 |
|
|
%patch34 -p1 |
|
|
rm -rf root/var/service/ root/service/ |
|
|
%patch35 -p1 |
|
|
%patch36 -p1 |
|
|
%patch37 -p1 |
|
|
%patch38 -p1 |
|
|
%patch39 -p1 |
|
|
%patch40 -p1 |
|
|
%patch41 -p1 |
|
|
%patch42 -p1 |
|
|
%patch43 -p1 |
|
|
%patch44 -p1 |
|
|
%patch45 -p1 |
|
|
%patch46 -p1 |
|
|
%patch47 -p1 |
|
|
%patch48 -p1 |
|
|
%patch49 -p1 |
|
48 |
|
|
49 |
%build |
%build |
50 |
perl createlinks |
perl createlinks |
61 |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
62 |
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
63 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
64 |
--dir /var/log/yum 'attr(2750,smelog,smelog)' \ |
--dir /var/log/yum 'attr(2750,root,root)' \ |
65 |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
66 |
|
|
67 |
%clean |
%clean |
81 |
|
|
82 |
|
|
83 |
%changelog |
%changelog |
84 |
|
* Mon Feb 27 2023 Michel Begue <mab974@misouk.com> 2.6.2-3.sme |
85 |
|
- fix reconfigure asked when not needed [SME: 12171] |
86 |
|
- do not show reconfigure button and message if not needed [SME: 12209] |
87 |
|
|
88 |
|
* Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.2-2.sme |
89 |
|
- set smecontribs enabled on new install [SME: 12179] |
90 |
|
|
91 |
|
* Mon Jul 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.2-1.sme |
92 |
|
- bump version number |
93 |
|
- no reboot for dbus-glib [SME: 12091] |
94 |
|
|
95 |
|
* Tue Jun 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-64.sme |
96 |
|
- rephrase contrib update message [SME: 11543] |
97 |
|
- move mysqld to mariadb in smeserver plugin [SME: 11921] |
98 |
|
|
99 |
|
* Sun Apr 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-63.sme |
100 |
|
- remove force AutoInstallUpdates to disabled [SME: 11961] |
101 |
|
|
102 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-61.sme |
103 |
|
- fix rotate yum.log as not standard location [SME: 11951] |
104 |
|
- remove yum_update_dbs from messages log [SME: 11952] |
105 |
|
|
106 |
* 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 |
107 |
- restart cvm-unix on cvm or bglibs update [SME: 11886] |
- restart cvm-unix on cvm or bglibs update [SME: 11886] |
108 |
|
|