/[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.2 by vip-ire, Sun Feb 7 12:10:35 2016 UTC Revision 1.23 by jpp, Thu Jan 24 01:35:04 2019 UTC
# Line 1  Line 1 
1  # $Id: smeserver-yum.spec,v 1.1 2016/02/05 23:20:26 stephdl Exp $  # $Id: smeserver-yum.spec,v 1.22 2019/01/23 23:29:32 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 2  %define release 19
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    
29  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
30  BuildArchitectures: noarch  BuildArchitectures: noarch
31  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 22  Obsoletes: check4updates Line 38  Obsoletes: check4updates
38  Provides: check4updates  Provides: check4updates
39  Obsoletes: rpmdb-CentOS  Obsoletes: rpmdb-CentOS
40  Requires: yum-plugin-fastestmirror  Requires: yum-plugin-fastestmirror
41    Requires: yum-plugin-priorities
42  Obsoletes: yum-plugin-installonlyn  Obsoletes: yum-plugin-installonlyn
43  Obsoletes: yum-protect-packages <= 1.1.16  Obsoletes: yum-protect-packages <= 1.1.16
44    Requires: yum-plugin-post-transaction-actions
45  Requires: mailx  Requires: mailx
46    Requires: deltarpm
47  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
48  BuildRequires: python  BuildRequires: python
49  Conflicts: centos-yumconf  Conflicts: centos-yumconf
# Line 32  AutoReqProv: no Line 51  AutoReqProv: no
51  %description  %description
52  %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
53    
54    %prep
55    %setup
56    %patch0 -p1
57    %patch1 -p1
58    %patch2 -p1
59    %patch3 -p1
60    %patch4 -p1
61    %patch5 -p1
62    %patch6 -p1
63    %patch7 -p1
64    %patch8 -p1
65    %patch9 -p1
66    %patch10 -p1
67    %patch11 -p1
68    %patch12 -p1
69    %patch13 -p1
70    %patch14 -p1
71    
72    %build
73    perl createlinks
74    ln -s /var/service/yum root/service/yum
75    mkdir -p root/etc/yum.smerepos.d
76    
77    %install
78    /bin/rm -rf $RPM_BUILD_ROOT
79    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
80    /bin/rm -f %{name}-%{version}-filelist
81    /sbin/e-smith/genfilelist \
82        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
83        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
84        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
85        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
86        --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
87        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
88        --file /var/service/yum/down 'attr(0644,root,root)' \
89        --file /var/service/yum/run 'attr(0755,root,root)' \
90        --dir /var/service/yum/log 'attr(0755,root,root)' \
91        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
92        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
93        --file /var/service/yum/log/run 'attr(0755,root,root)' \
94        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
95        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
96    
97    %clean
98    /bin/rm -rf $RPM_BUILD_ROOT
99    
100    %files -f %{name}-%{version}-%{release}-filelist
101    
102    %defattr(-,root,root)
103    
104    
105  %changelog  %changelog
106    * Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
107    - add yum-priority as requirement [SME: 6499]
108      add support for plugin priority using property priority im yum_repositories db
109      initial priority to 10 for sme*, base and updates repos.
110      property yum priority set as enabled as default
111    - avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388]
112    
113    * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
114    - add message to indicate EOL after Jun 30 2024 fix [SME: 10170]
115    
116    * Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
117    - add yum-plugin-post-transaction-actions as requirement [SME: 1100]
118    
119    * Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
120    - add rpmfusion free el7 RPM GPG KEY [SME: 10263]
121    
122    * Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
123    - avoid reboot for smeserver-locale upgrade [SME: 8705]
124    - code by stefano zamboni <zamboni@mind-at-work.it>
125    
126    * Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
127    - correct service names with plugin to avoid reboot [SME: 8705]
128    - code by stefano zamboni <zamboni@mind-at-work.it>
129    
130    * Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
131    - fix KeyError with plugin to avoid reboot [SME: 8705]
132    - code by stefano zamboni <zamboni@mind-at-work.it>
133    
134    * Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
135    - remove centos contrib repo [SME: 10156]
136    
137    * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
138    - added centos SCLo SIG gpg rpm signing key [SME: 10119]
139    - will allow to install SCL packages directly from smecontribs
140    
141    * Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
142    - Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705]
143    - code by stefano zamboni <zamboni@mind-at-work.it>
144    - Avoid to reboot after the installation of a smeserver-* package
145    
146    * Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
147    - add Remi Collet RPM GPG KEY [SME: 9903]
148    
149    * Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme
150    - Rpm updates can be downloaded during the night [SME: 1502]
151    - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
152    
153    * Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
154    - Deltarpm is now a setting in the yum panel (disabled by default)
155    - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834]
156    
157    * Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
158    - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533]
159    
160    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
161    - Rebuild [SME: 9393]
162    
163    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
164    - yum points now to SME10 mirrors [SME: 9377]
165    - moved changelog at the end of file
166    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
167      by assuming the date is correct and changing the weekday.
168      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
169      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
170      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
171    
172    
173  * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme  * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
174  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
175    [SME: 9229]    [SME: 9229]
# Line 270  AutoReqProv: no Line 407  AutoReqProv: no
407  * 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
408  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
409    
410  * 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
411      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
412  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
413  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
414    
415  * 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
416      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
417  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
418    
419  * 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 286  AutoReqProv: no Line 425  AutoReqProv: no
425    page is displayed from other sessions    page is displayed from other sessions
426  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
427    
428  * 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
429      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
430  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
431  - Alpha sort dependencies  - Alpha sort dependencies
432    
433  * 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
434      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
435  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
436    
437  * 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
438      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
439  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
440    
441  * 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
442      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
443  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
444  - Display yum output  - Display yum output
445  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 337  AutoReqProv: no Line 480  AutoReqProv: no
480  * 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
481  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
482    
483  * 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
484  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
485    
486  * 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
487  - 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
488    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
489    
490  * 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
491  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
492    
493  * 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 648  AutoReqProv: no Line 791  AutoReqProv: no
791    are modified for the SMEServer releases    are modified for the SMEServer releases
792  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
793    
794  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
795      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
796  - [1.1.0-01gr05]  - [1.1.0-01gr05]
797  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
798    
799  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
800      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
801  - [1.1.0-01gr04]  - [1.1.0-01gr04]
802  - Hide empty group/package select boxes  - Hide empty group/package select boxes
803    
# Line 898  AutoReqProv: no Line 1043  AutoReqProv: no
1043  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
1044  - [0.0.1a-01]  - [0.0.1a-01]
1045  - 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