/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum.spec
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.35 by jpp, Fri Dec 6 03:34:00 2019 UTC Revision 1.86 by jpp, Tue Nov 22 19:39:09 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-yum.spec,v 1.34 2019/12/06 03:27:30 jpp Exp $  # $Id: smeserver-yum.spec,v 1.85 2022/07/11 15:20:40 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 23  %define release 2
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
 Patch1: smeserver-yum-2.6.0.SME10CentOS7EPEL7Keys.rpm  
 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  
14    
15  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 63  AutoReqProv: no Line 40  AutoReqProv: no
40    
41  %prep  %prep
42  %setup  %setup
43    rm -rf root/var/service/ root/service/
44    rm -rf root/etc/e-smith/db/configuration/force
45  %patch0 -p1  %patch0 -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  
   
46    
47  %build  %build
48  perl createlinks  perl createlinks
 ln -s /var/service/yum root/service/yum  
49  mkdir -p root/etc/yum.smerepos.d  mkdir -p root/etc/yum.smerepos.d
50    
51  %install  %install
# Line 105  mkdir -p root/etc/yum.smerepos.d Line 59  mkdir -p root/etc/yum.smerepos.d
59      --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \      --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
60      --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \      --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
61      --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \      --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
62      --file /var/service/yum/down 'attr(0644,root,root)' \      --dir /var/log/yum 'attr(2750,root,root)' \
     --file /var/service/yum/run 'attr(0755,root,root)' \  
     --dir /var/service/yum/log 'attr(0755,root,root)' \  
     --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \  
     --dir /var/service/yum/supervise 'attr(0700,root,root)' \  
     --file /var/service/yum/log/run 'attr(0755,root,root)' \  
     --dir /var/log/yum 'attr(2750,smelog,smelog)' \  
63      $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist      $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
64    
65  %clean  %clean
# Line 121  mkdir -p root/etc/yum.smerepos.d Line 69  mkdir -p root/etc/yum.smerepos.d
69    
70  %defattr(-,root,root)  %defattr(-,root,root)
71    
72    %pre
73    if [ $1 -gt 1 ] ; then
74      if [ -e /var/service/yum/run ] ; then
75           /usr/bin/sv d yum
76           /usr/bin/sv d yum/log        
77      fi
78    fi
79    
80    
81  %changelog  %changelog
82  * Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-23.sme  * Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.2-2.sme
83  - implement yum-cron [SME: 10690]  - set smecontribs enabled on new install [SME: 12179]
84    * use yum-cron for download only or auto update (TODO)  
85    * yum-cron templates  (TODO)  * Mon Jul 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.2-1.sme
86    * update lock path (TODO)  - bump version number
87    * setting in server-manager (TODO)  - no reboot for dbus-glib [SME: 12091]
88    
89    * Tue Jun 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-64.sme
90    - rephrase contrib update message [SME: 11543]
91    - move mysqld to mariadb in smeserver plugin [SME: 11921]
92    
93    * Sun Apr 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-63.sme
94    - remove force AutoInstallUpdates to disabled [SME: 11961]
95    
96    * Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-61.sme
97    - fix rotate yum.log as not standard location [SME: 11951]
98    - remove yum_update_dbs from messages log [SME: 11952]
99    
100    * Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-60.sme
101    - restart cvm-unix on cvm or bglibs update [SME: 11886]
102    
103    * Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-59.sme
104    - remove pop3 and pop3s services from plugin [SME: 11808]
105    
106    * Thu Dec 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-58.sme
107    - fix restarting spamd instead of spamassassin [SME: 11803]
108    
109    * Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 2.6.0-57.sme
110    - Re-word-reboot-required-message.patch [SME: 11790]
111    
112    * Sun Nov 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-56.sme
113    - fix wrong qpsmtpd handling [SME: 11768]
114    
115    * Mon Jun 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-55.sme
116    - add elrepo GPG key [SME: 11625]
117    
118    * Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-54.sme
119    - no reboot needed for systemd-python [SME: 11609]
120    
121    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-53.sme
122    - fix services stop on removal [SME: 11510]
123    
124    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-52.sme
125    - run navigation-conf when a panel is installed [SME: 11507]
126    
127    * Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-51.sme
128    - migrate back to normal CentOS mirrors after el6 EOL  [SME: 11477]
129    - version 2 with
130      deleting yum{eolversion} if for previous release or not yet eol
131      better handling of conditions
132    
133    * Wed Mar 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-49.sme
134    - avoid reboot on removal of smeserver-* rpms [SME: 11458]
135    - navigation-conf when a panel is installed
136    
137    * Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-47.sme
138    - fix wrong path for rsyslog.conf [SME: 11364]
139    
140    * Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-46.sme
141    - remove noise in yum process "overriding all signals, forcing restart" [SME: 11372]
142    
143    * Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-45.sme
144    - packages installed logged both in yum.log and message [SME: 11364]
145    - set priority to 10 for remi-safe [SME: 11360]
146    
147    * Mon Feb 15 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-44.sme
148    - fix poor handling of service adjusting and action order [SME: 11300]
149      now a temp event is created
150      also better logging, better handling of update vs removal
151    
152    * Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-43.sme
153    - make yum dbs service fork [SME: 11243]
154      now smeserver.py plugin call the service
155      yum-modify can use the service restart
156      yum.service is its own service, not called by local.service
157    
158    * Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-42.sme
159    - move yum upate db service to systemd [SME: 11180]
160    
161    * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-41.sme
162    - fix -update events not runt on package upgrade [SME: 11184]
163      lower noise on forced restart
164    
165    * Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-39.sme
166    - fix switch to vault BaseURL for CentOS [SME: 11227]
167    
168    * Mon Nov 16 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-38.sme
169    - add remi-safe as base repo [SME: 11179]
170    - smeserver-yum-update event created [SME: 11168]
171    
172    * Sun Nov 15 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-37.sme
173    - fix separate action before template, and after service [SME: 11175]
174      run all actions with post-upgrade as default event
175    
176    * Tue Nov 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-36.sme
177    - fix some templates not expanded [SME: 11121]
178    
179    * Tue Oct 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-35.sme
180    - fix smeserver.py not executing action because of wrong path [SME: 11047]
181    
182    * Mon Jun 22 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-33.sme
183    - fix error when key absent of a dict of smeserver plugin at clean stage [SME: 10931]
184    
185    * Thu Jan 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-32.sme
186    - avoid missing template error after removal of a rpm [SME: 10846]
187    
188    * Thu Jan 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-30.sme
189    - restart php-fpm services when needed [SME: 10873]
190    
191    * Mon Dec 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-29.sme
192    - applying patch [SME: 10690]
193    
194    * Sun Dec 08 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-27.sme
195    - fix NameError: global name 'yum_update_dbs' is not defined [SME: 6940]
196    
197    * Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-26.sme
198    - use yum-cron with autoupdate feature [SME: 10690]
199      * use yum-cron for download only or auto update
200      * yum-cron.conf templates
201      * update lock path
202      * settings in server-manager
203      * remove yumdownloadonly script and crontab template
204    
205    * Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-25.sme
206    - fix typo on patch [SME: 10249]
207    
208    * Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-24.sme
209  - fix header detected as package [SME: 10843]  - fix header detected as package [SME: 10843]
210  - avoid discrepancy between manager, cli and email [SME: 6940]  - avoid discrepancy between manager, cli and email [SME: 6940]
211    * force refresh of metadata before db generation    * force refresh of metadata before db generation


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed