/[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.7 by stephdl, Thu Aug 4 19:35:11 2016 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.6 2016/08/01 14:20:37 stephdl 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 7
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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18  BuildArchitectures: noarch  BuildArchitectures: noarch
19  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 25  Requires: yum-plugin-fastestmirror Line 29  Requires: yum-plugin-fastestmirror
29  Obsoletes: yum-plugin-installonlyn  Obsoletes: yum-plugin-installonlyn
30  Obsoletes: yum-protect-packages <= 1.1.16  Obsoletes: yum-protect-packages <= 1.1.16
31  Requires: mailx  Requires: mailx
32    Requires: deltarpm
33  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
34  BuildRequires: python  BuildRequires: python
35  Conflicts: centos-yumconf  Conflicts: centos-yumconf
# Line 32  AutoReqProv: no Line 37  AutoReqProv: no
37  %description  %description
38  %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
39    
40    %prep
41    %setup
42    %patch0 -p1
43    %patch1 -p1
44    %patch2 -p1
45    %patch3 -p1
46    
47    %build
48    perl createlinks
49    ln -s /var/service/yum root/service/yum
50    mkdir -p root/etc/yum.smerepos.d
51    
52    %install
53    /bin/rm -rf $RPM_BUILD_ROOT
54    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
55    /bin/rm -f %{name}-%{version}-filelist
56    /sbin/e-smith/genfilelist \
57        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
58        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
59        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
60        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
61        --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
62        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
63        --file /var/service/yum/down 'attr(0644,root,root)' \
64        --file /var/service/yum/run 'attr(0755,root,root)' \
65        --dir /var/service/yum/log 'attr(0755,root,root)' \
66        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
67        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
68        --file /var/service/yum/log/run 'attr(0755,root,root)' \
69        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
70        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
71    
72    %clean
73    /bin/rm -rf $RPM_BUILD_ROOT
74    
75    %files -f %{name}-%{version}-%{release}-filelist
76    
77    %defattr(-,root,root)
78    
79    
80  %changelog  %changelog
81    * Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme
82    - Rpm updates can be downloaded during the night [SME: 1502]
83    - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
84    
85    * Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
86    - Deltarpm is now a setting in the yum panel (disabled by default)
87    - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834]
88    
89    * Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
90    - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533]
91    
92    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
93    - Rebuild [SME: 9393]
94    
95    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
96    - yum points now to SME10 mirrors [SME: 9377]
97    - moved changelog at the end of file
98    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
99      by assuming the date is correct and changing the weekday.
100      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
101      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
102      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
103    
104    
105  * 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
106  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
107    [SME: 9229]    [SME: 9229]
# Line 270  AutoReqProv: no Line 339  AutoReqProv: no
339  * 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
340  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
341    
342  * 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
343      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
344  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
345  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
346    
347  * 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
348      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
349  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
350    
351  * 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 357  AutoReqProv: no
357    page is displayed from other sessions    page is displayed from other sessions
358  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
359    
360  * 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
361      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
362  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
363  - Alpha sort dependencies  - Alpha sort dependencies
364    
365  * 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
366      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
367  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
368    
369  * 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
370      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
371  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
372    
373  * 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
374      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
375  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
376  - Display yum output  - Display yum output
377  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 337  AutoReqProv: no Line 412  AutoReqProv: no
412  * 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
413  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
414    
415  * 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
416  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
417    
418  * 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
419  - 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
420    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
421    
422  * 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
423  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
424    
425  * 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 723  AutoReqProv: no
723    are modified for the SMEServer releases    are modified for the SMEServer releases
724  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
725    
726  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
727      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
728  - [1.1.0-01gr05]  - [1.1.0-01gr05]
729  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
730    
731  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
732      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
733  - [1.1.0-01gr04]  - [1.1.0-01gr04]
734  - Hide empty group/package select boxes  - Hide empty group/package select boxes
735    
# Line 898  AutoReqProv: no Line 975  AutoReqProv: no
975  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
976  - [0.0.1a-01]  - [0.0.1a-01]
977  - 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