/[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.15 by unnilennium, Mon Mar 27 21:40:56 2017 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.14 2017/03/27 21:40:33 unnilennium 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 13
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    
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24  BuildArchitectures: noarch  BuildArchitectures: noarch
25  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 25  Requires: yum-plugin-fastestmirror Line 35  Requires: yum-plugin-fastestmirror
35  Obsoletes: yum-plugin-installonlyn  Obsoletes: yum-plugin-installonlyn
36  Obsoletes: yum-protect-packages <= 1.1.16  Obsoletes: yum-protect-packages <= 1.1.16
37  Requires: mailx  Requires: mailx
38    Requires: deltarpm
39  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
40  BuildRequires: python  BuildRequires: python
41  Conflicts: centos-yumconf  Conflicts: centos-yumconf
# Line 32  AutoReqProv: no Line 43  AutoReqProv: no
43  %description  %description
44  %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
45    
46    %prep
47    %setup
48    %patch0 -p1
49    %patch1 -p1
50    %patch2 -p1
51    %patch3 -p1
52    %patch4 -p1
53    %patch5 -p1
54    %patch6 -p1
55    %patch7 -p1
56    %patch8 -p1
57    
58    %build
59    perl createlinks
60    ln -s /var/service/yum root/service/yum
61    mkdir -p root/etc/yum.smerepos.d
62    
63    %install
64    /bin/rm -rf $RPM_BUILD_ROOT
65    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
66    /bin/rm -f %{name}-%{version}-filelist
67    /sbin/e-smith/genfilelist \
68        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
69        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
70        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
71        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
72        --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
73        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
74        --file /var/service/yum/down 'attr(0644,root,root)' \
75        --file /var/service/yum/run 'attr(0755,root,root)' \
76        --dir /var/service/yum/log 'attr(0755,root,root)' \
77        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
78        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
79        --file /var/service/yum/log/run 'attr(0755,root,root)' \
80        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
81        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
82    
83    %clean
84    /bin/rm -rf $RPM_BUILD_ROOT
85    
86    %files -f %{name}-%{version}-%{release}-filelist
87    
88    %defattr(-,root,root)
89    
90    
91  %changelog  %changelog
92    * Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
93    - fix KeyError with plugin to avoid reboot [SME: 8705]
94    - code by stefano zamboni <zamboni@mind-at-work.it>
95    
96    * Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
97    - remove centos contrib repo [SME: 10156]
98    
99    * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
100    - added centos SCLo SIG gpg rpm signing key [SME: 10119]
101    - will allow to install SCL packages directly from smecontribs
102    
103    * Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
104    - Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705]
105    - code by stefano zamboni <zamboni@mind-at-work.it>
106    - Avoid to reboot after the installation of a smeserver-* package
107    
108    * Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
109    - add Remi Collet RPM GPG KEY [SME: 9903]
110    
111    * Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme
112    - Rpm updates can be downloaded during the night [SME: 1502]
113    - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
114    
115    * Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
116    - Deltarpm is now a setting in the yum panel (disabled by default)
117    - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834]
118    
119    * Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
120    - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533]
121    
122    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
123    - Rebuild [SME: 9393]
124    
125    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
126    - yum points now to SME10 mirrors [SME: 9377]
127    - moved changelog at the end of file
128    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
129      by assuming the date is correct and changing the weekday.
130      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
131      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
132      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
133    
134    
135  * 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
136  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
137    [SME: 9229]    [SME: 9229]
# Line 270  AutoReqProv: no Line 369  AutoReqProv: no
369  * 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
370  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
371    
372  * 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
373      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
374  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
375  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
376    
377  * 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
378      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
379  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
380    
381  * 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 387  AutoReqProv: no
387    page is displayed from other sessions    page is displayed from other sessions
388  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
389    
390  * 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
391      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
392  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
393  - Alpha sort dependencies  - Alpha sort dependencies
394    
395  * 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
396      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
397  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
398    
399  * 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
400      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
401  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
402    
403  * 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
404      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
405  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
406  - Display yum output  - Display yum output
407  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 337  AutoReqProv: no Line 442  AutoReqProv: no
442  * 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
443  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
444    
445  * 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
446  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
447    
448  * 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
449  - 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
450    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
451    
452  * 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
453  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
454    
455  * 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 753  AutoReqProv: no
753    are modified for the SMEServer releases    are modified for the SMEServer releases
754  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
755    
756  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
757      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
758  - [1.1.0-01gr05]  - [1.1.0-01gr05]
759  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
760    
761  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
762      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
763  - [1.1.0-01gr04]  - [1.1.0-01gr04]
764  - Hide empty group/package select boxes  - Hide empty group/package select boxes
765    
# Line 898  AutoReqProv: no Line 1005  AutoReqProv: no
1005  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
1006  - [0.0.1a-01]  - [0.0.1a-01]
1007  - 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