/[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.1 by stephdl, Fri Feb 5 23:20:26 2016 UTC Revision 1.35 by jpp, Fri Dec 6 03:34:00 2019 UTC
# Line 1  Line 1 
1  # $Id: smeserver-yum.spec,v 1.14 2016/01/13 10:55:43 vip-ire Exp $  # $Id: smeserver-yum.spec,v 1.34 2019/12/06 03:27:30 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 1  %define release 23
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
14    Patch1: smeserver-yum-2.6.0.SME10CentOS7EPEL7Keys.rpm
15    Patch2: smeserver-yum-2.6.0.bz8834.DeltaRpm.patch
16    Patch3: smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
17    Patch4: smeserver-yum-2.6.0.bz9903.remiGPG.patch
18    Patch5: smeserver-yum-2.6.0.bz8705.avoidReboot.patch
19    Patch6: smeserver-yum-2.6.0.bz10119.scloGPGkey.patch
20    Patch7: smeserver-yum-2.6.0.bz10156.remContrib.patch
21    Patch8: smeserver-yum-2.6.0.bz8705.avoidReboot-fixKeyError.patch
22    Patch9: smeserver-yum-2.6.0.bz8705.avoidReboot-service-names.patch
23    Patch10: smeserver-yum-2.6.0.bz8705.smeserver-locale.avoidreboot.patch
24    Patch11: smeserver-yum-2.6.0.bz10263.rpmfusionfreeEL7.patch
25    Patch12: smeserver-yum-2.6.0-bz10170-SME10eol.patch
26    Patch13: smeserver-yum-2.6.0.bz6499.yum-plugin-priorities.patch
27    Patch14: smeserver-yum-2.6.0.bz9388.no-double-contribs-check.patch
28    Patch15: smeserver-yum-2.6.0.bz8782-check4contribs-formatting.patch
29    Patch16: smeserver-yum-2.6.0.bz8705.avoidReboot-Nut-reboot-exclusions.patch
30    Patch17: smeserver-yum-2.6.0-bz10742-openfusion.patch
31    Patch18: smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch
32    Patch19: smeserver-yum-2.6.0-bz9697.mirrorlist.patch
33    Patch20: smeserver-yum-2.6.0.bz10249.CentOSVault.onEOL.patch
34    Patch21: smeserver-yum-2.6.0.bz118.groupmark.patch
35    Patch22: smeserver-yum-2.6.0.bz6940.mismatch.btwn.manager.and.cli.patch
36    Patch23: smeserver-yum-2.6.0.bz10843.stripheader.patch
37    
38  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
39  BuildArchitectures: noarch  BuildArchitectures: noarch
40  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 22  Obsoletes: check4updates Line 47  Obsoletes: check4updates
47  Provides: check4updates  Provides: check4updates
48  Obsoletes: rpmdb-CentOS  Obsoletes: rpmdb-CentOS
49  Requires: yum-plugin-fastestmirror  Requires: yum-plugin-fastestmirror
50    Requires: yum-plugin-priorities
51  Obsoletes: yum-plugin-installonlyn  Obsoletes: yum-plugin-installonlyn
52  Obsoletes: yum-protect-packages <= 1.1.16  Obsoletes: yum-protect-packages <= 1.1.16
53    Requires: yum-plugin-post-transaction-actions
54  Requires: mailx  Requires: mailx
55    Requires: deltarpm
56    Requires: yum-cron
57  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
58    BuildRequires: python
59  Conflicts: centos-yumconf  Conflicts: centos-yumconf
60  AutoReqProv: no  AutoReqProv: no
61  %description  %description
62  %name is an implementation of http://linux.duke.edu/projects/yum on SME Server  %name is an implementation of http://linux.duke.edu/projects/yum on SME Server
63    
64    %prep
65    %setup
66    %patch0 -p1
67    %patch1 -p1
68    %patch2 -p1
69    %patch3 -p1
70    %patch4 -p1
71    %patch5 -p1
72    %patch6 -p1
73    %patch7 -p1
74    %patch8 -p1
75    %patch9 -p1
76    %patch10 -p1
77    %patch11 -p1
78    %patch12 -p1
79    %patch13 -p1
80    %patch14 -p1
81    %patch15 -p1
82    %patch16 -p1
83    %patch17 -p1
84    %patch18 -p1
85    %patch19 -p1
86    %patch20 -p1
87    %patch21 -p1
88    %patch22 -p1
89    %patch23 -p1
90    
91    
92    %build
93    perl createlinks
94    ln -s /var/service/yum root/service/yum
95    mkdir -p root/etc/yum.smerepos.d
96    
97    %install
98    /bin/rm -rf $RPM_BUILD_ROOT
99    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
100    /bin/rm -f %{name}-%{version}-filelist
101    /sbin/e-smith/genfilelist \
102        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
103        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
104        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
105        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
106        --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
107        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
108        --file /var/service/yum/down 'attr(0644,root,root)' \
109        --file /var/service/yum/run 'attr(0755,root,root)' \
110        --dir /var/service/yum/log 'attr(0755,root,root)' \
111        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
112        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
113        --file /var/service/yum/log/run 'attr(0755,root,root)' \
114        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
115        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
116    
117    %clean
118    /bin/rm -rf $RPM_BUILD_ROOT
119    
120    %files -f %{name}-%{version}-%{release}-filelist
121    
122    %defattr(-,root,root)
123    
124    
125  %changelog  %changelog
126    * Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-23.sme
127    - implement yum-cron [SME: 10690]
128      * use yum-cron for download only or auto update (TODO)
129      * yum-cron templates  (TODO)
130      * update lock path (TODO)
131      * setting in server-manager (TODO)
132    - fix header detected as package [SME: 10843]
133    - avoid discrepancy between manager, cli and email [SME: 6940]
134      * force refresh of metadata before db generation
135      * add regeneration of db during check4updates, after yum update/install/remove
136    - fix no installed groups file [SME: 118]
137    - switch to centos vault after EOL [SME: 10249]
138    - update http://mirrorlist.contribs.org/mirrorlist to https://mirrorlist.koozali.org/mirrorlist [SME: 9697]
139    - make smecontribs visible [SME: 10716]
140    
141    * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-22.sme
142    - add openfusion gpg key [SME: 10742]
143    
144    * Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-21.sme
145    - updated EOL patch [SME: 10170]
146    
147    * Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
148    - add yum-priority as requirement [SME: 6499]
149      add support for plugin priority using property priority im yum_repositories db
150      initial priority to 10 for sme*, base and updates repos.
151      property yum priority set as enabled as default
152    - avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388]
153    - update check4contribs email format to match check4updates [SME: 8782]
154    - improve yum plugin to avoid reboot [SME: 8705]
155      add nut support, add exclusions for -doc, -devel... subpackages
156    
157    * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
158    - add message to indicate EOL after Jun 30 2024 fix [SME: 10170]
159    
160    * Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
161    - add yum-plugin-post-transaction-actions as requirement [SME: 1100]
162    
163    * Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
164    - add rpmfusion free el7 RPM GPG KEY [SME: 10263]
165    
166    * Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
167    - avoid reboot for smeserver-locale upgrade [SME: 8705]
168    - code by stefano zamboni <zamboni@mind-at-work.it>
169    
170    * Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
171    - correct service names with plugin to avoid reboot [SME: 8705]
172    - code by stefano zamboni <zamboni@mind-at-work.it>
173    
174    * Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
175    - fix KeyError with plugin to avoid reboot [SME: 8705]
176    - code by stefano zamboni <zamboni@mind-at-work.it>
177    
178    * Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
179    - remove centos contrib repo [SME: 10156]
180    
181    * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
182    - added centos SCLo SIG gpg rpm signing key [SME: 10119]
183    - will allow to install SCL packages directly from smecontribs
184    
185    * Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
186    - Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705]
187    - code by stefano zamboni <zamboni@mind-at-work.it>
188    - Avoid to reboot after the installation of a smeserver-* package
189    
190    * Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
191    - add Remi Collet RPM GPG KEY [SME: 9903]
192    
193    * Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme
194    - Rpm updates can be downloaded during the night [SME: 1502]
195    - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
196    
197    * Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
198    - Deltarpm is now a setting in the yum panel (disabled by default)
199    - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834]
200    
201    * Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
202    - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533]
203    
204    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
205    - Rebuild [SME: 9393]
206    
207    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
208    - yum points now to SME10 mirrors [SME: 9377]
209    - moved changelog at the end of file
210    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
211      by assuming the date is correct and changing the weekday.
212      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
213      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
214      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
215    
216    
217    * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
218    - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
219      [SME: 9229]
220    
221  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
222  - Initial release to sme10  - Initial release to sme10
223    
# Line 265  AutoReqProv: no Line 451  AutoReqProv: no
451  * Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-20  * Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-20
452  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
453    
454  * Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-19  * Thu Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-19
455      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
456  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
457  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
458    
459  * Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-18  * Thu Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-18
460      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
461  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
462    
463  * Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-17  * Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-17
# Line 281  AutoReqProv: no Line 469  AutoReqProv: no
469    page is displayed from other sessions    page is displayed from other sessions
470  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
471    
472  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15
473      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
474  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
475  - Alpha sort dependencies  - Alpha sort dependencies
476    
477  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14
478      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
479  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
480    
481  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13
482      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
483  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
484    
485  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12
486      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
487  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
488  - Display yum output  - Display yum output
489  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 332  AutoReqProv: no Line 524  AutoReqProv: no
524  * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01  * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
525  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
526    
527  * Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26  * Mon Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26
528  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
529    
530  * Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25  * Mon Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25
531  - Change SME Server repo URLs to match repo names so we avoid confusion  - Change SME Server repo URLs to match repo names so we avoid confusion
532    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
533    
534  * Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24  * Mon Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24
535  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
536    
537  * Wed Feb 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-23  * Wed Feb 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-23
# Line 643  AutoReqProv: no Line 835  AutoReqProv: no
835    are modified for the SMEServer releases    are modified for the SMEServer releases
836  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
837    
838  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
839      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
840  - [1.1.0-01gr05]  - [1.1.0-01gr05]
841  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
842    
843  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
844      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
845  - [1.1.0-01gr04]  - [1.1.0-01gr04]
846  - Hide empty group/package select boxes  - Hide empty group/package select boxes
847    
# Line 893  AutoReqProv: no Line 1087  AutoReqProv: no
1087  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
1088  - [0.0.1a-01]  - [0.0.1a-01]
1089  - Original version  - Original version
   
 %prep  
 %setup  
   
 %build  
 perl createlinks  
 ln -s /var/service/yum root/service/yum  
 mkdir -p root/etc/yum.smerepos.d  
   
 %install  
 /bin/rm -rf $RPM_BUILD_ROOT  
 (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  
 /bin/rm -f %{name}-%{version}-filelist  
 /sbin/e-smith/genfilelist \  
     --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \  
     --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \  
     --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \  
     --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \  
     --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \  
     --file /var/service/yum/down 'attr(0644,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)' \  
     $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist  
   
 %clean  
 /bin/rm -rf $RPM_BUILD_ROOT  
   
 %files -f %{name}-%{version}-%{release}-filelist  
   
 %defattr(-,root,root)  
   


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