/[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.29 by jpp, Tue Feb 19 01:51:55 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.28 2019/02/02 18:49:35 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 22
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    
32  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
33  BuildArchitectures: noarch  BuildArchitectures: noarch
34  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 22  Obsoletes: check4updates Line 41  Obsoletes: check4updates
41  Provides: check4updates  Provides: check4updates
42  Obsoletes: rpmdb-CentOS  Obsoletes: rpmdb-CentOS
43  Requires: yum-plugin-fastestmirror  Requires: yum-plugin-fastestmirror
44    Requires: yum-plugin-priorities
45  Obsoletes: yum-plugin-installonlyn  Obsoletes: yum-plugin-installonlyn
46  Obsoletes: yum-protect-packages <= 1.1.16  Obsoletes: yum-protect-packages <= 1.1.16
47    Requires: yum-plugin-post-transaction-actions
48  Requires: mailx  Requires: mailx
49    Requires: deltarpm
50  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
51    BuildRequires: python
52  Conflicts: centos-yumconf  Conflicts: centos-yumconf
53  AutoReqProv: no  AutoReqProv: no
54  %description  %description
55  %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
56    
57    %prep
58    %setup
59    %patch0 -p1
60    %patch1 -p1
61    %patch2 -p1
62    %patch3 -p1
63    %patch4 -p1
64    %patch5 -p1
65    %patch6 -p1
66    %patch7 -p1
67    %patch8 -p1
68    %patch9 -p1
69    %patch10 -p1
70    %patch11 -p1
71    %patch12 -p1
72    %patch13 -p1
73    %patch14 -p1
74    %patch15 -p1
75    %patch16 -p1
76    %patch17 -p1
77    
78    %build
79    perl createlinks
80    ln -s /var/service/yum root/service/yum
81    mkdir -p root/etc/yum.smerepos.d
82    
83    %install
84    /bin/rm -rf $RPM_BUILD_ROOT
85    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
86    /bin/rm -f %{name}-%{version}-filelist
87    /sbin/e-smith/genfilelist \
88        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
89        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
90        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
91        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
92        --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
93        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
94        --file /var/service/yum/down 'attr(0644,root,root)' \
95        --file /var/service/yum/run 'attr(0755,root,root)' \
96        --dir /var/service/yum/log 'attr(0755,root,root)' \
97        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
98        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
99        --file /var/service/yum/log/run 'attr(0755,root,root)' \
100        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
101        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
102    
103    %clean
104    /bin/rm -rf $RPM_BUILD_ROOT
105    
106    %files -f %{name}-%{version}-%{release}-filelist
107    
108    %defattr(-,root,root)
109    
110    
111  %changelog  %changelog
112    * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-22.sme
113    - add openfusion gpg key [SME: 10742]
114    
115    * Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-21.sme
116    - updated EOL patch [SME: 10170]
117    
118    * Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
119    - add yum-priority as requirement [SME: 6499]
120      add support for plugin priority using property priority im yum_repositories db
121      initial priority to 10 for sme*, base and updates repos.
122      property yum priority set as enabled as default
123    - avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388]
124    - update check4contribs email format to match check4updates [SME: 8782]
125    - improve yum plugin to avoid reboot [SME: 8705]
126      add nut support, add exclusions for -doc, -devel... subpackages
127    
128    * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
129    - add message to indicate EOL after Jun 30 2024 fix [SME: 10170]
130    
131    * Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
132    - add yum-plugin-post-transaction-actions as requirement [SME: 1100]
133    
134    * Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
135    - add rpmfusion free el7 RPM GPG KEY [SME: 10263]
136    
137    * Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
138    - avoid reboot for smeserver-locale upgrade [SME: 8705]
139    - code by stefano zamboni <zamboni@mind-at-work.it>
140    
141    * Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
142    - correct service names with plugin to avoid reboot [SME: 8705]
143    - code by stefano zamboni <zamboni@mind-at-work.it>
144    
145    * Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
146    - fix KeyError with plugin to avoid reboot [SME: 8705]
147    - code by stefano zamboni <zamboni@mind-at-work.it>
148    
149    * Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
150    - remove centos contrib repo [SME: 10156]
151    
152    * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
153    - added centos SCLo SIG gpg rpm signing key [SME: 10119]
154    - will allow to install SCL packages directly from smecontribs
155    
156    * Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
157    - Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705]
158    - code by stefano zamboni <zamboni@mind-at-work.it>
159    - Avoid to reboot after the installation of a smeserver-* package
160    
161    * Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
162    - add Remi Collet RPM GPG KEY [SME: 9903]
163    
164    * Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme
165    - Rpm updates can be downloaded during the night [SME: 1502]
166    - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
167    
168    * Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
169    - Deltarpm is now a setting in the yum panel (disabled by default)
170    - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834]
171    
172    * Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
173    - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533]
174    
175    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
176    - Rebuild [SME: 9393]
177    
178    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
179    - yum points now to SME10 mirrors [SME: 9377]
180    - moved changelog at the end of file
181    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
182      by assuming the date is correct and changing the weekday.
183      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
184      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
185      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
186    
187    
188    * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
189    - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
190      [SME: 9229]
191    
192  * 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
193  - Initial release to sme10  - Initial release to sme10
194    
# Line 265  AutoReqProv: no Line 422  AutoReqProv: no
422  * 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
423  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
424    
425  * 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
426      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
427  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
428  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
429    
430  * 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
431      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
432  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
433    
434  * 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 440  AutoReqProv: no
440    page is displayed from other sessions    page is displayed from other sessions
441  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
442    
443  * 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
444      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
445  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
446  - Alpha sort dependencies  - Alpha sort dependencies
447    
448  * 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
449      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
450  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
451    
452  * 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
453      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
454  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
455    
456  * 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
457      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
458  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
459  - Display yum output  - Display yum output
460  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 332  AutoReqProv: no Line 495  AutoReqProv: no
495  * 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
496  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
497    
498  * 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
499  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
500    
501  * 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
502  - 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
503    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
504    
505  * 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
506  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
507    
508  * 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 806  AutoReqProv: no
806    are modified for the SMEServer releases    are modified for the SMEServer releases
807  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
808    
809  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
810      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
811  - [1.1.0-01gr05]  - [1.1.0-01gr05]
812  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
813    
814  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
815      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
816  - [1.1.0-01gr04]  - [1.1.0-01gr04]
817  - Hide empty group/package select boxes  - Hide empty group/package select boxes
818    
# Line 893  AutoReqProv: no Line 1058  AutoReqProv: no
1058  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
1059  - [0.0.1a-01]  - [0.0.1a-01]
1060  - 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