/[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.54 by jpp, Thu Dec 3 22:26:36 2020 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.53 2020/11/17 03:52:39 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 39
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    Patch24: smeserver-yum-2.6.0.bz10690.autoinstall.patch
38    Patch25: smeserver-yum-2.6.0.bz10873.php-fpm.patch
39    Patch26: smeserver-yum-2.6.0.bz10846.templates.patch
40    Patch27: smeserver-yum-2.6.0.bz10931.mdadm-in-dict.patch
41    Patch28: smeserver-yum-2.6.0-bz11047-executeactions.patch
42    Patch29: smeserver-yum-2.6.0-bz11121-expandmetadata.patch
43    Patch30: smeserver-yum-2.6.0-bz11175-pre-and-post-actions.patch
44    Patch31: smeserver-yum-2.6.0-bz11168-bz11179-remi-safe_and-event.patch
45    Patch32: smeserver-yum-2.6.0.bz11227-eolvault.patch
46    
47  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
48  BuildArchitectures: noarch  BuildArchitectures: noarch
49  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 22  Obsoletes: check4updates Line 56  Obsoletes: check4updates
56  Provides: check4updates  Provides: check4updates
57  Obsoletes: rpmdb-CentOS  Obsoletes: rpmdb-CentOS
58  Requires: yum-plugin-fastestmirror  Requires: yum-plugin-fastestmirror
59    Requires: yum-plugin-priorities
60  Obsoletes: yum-plugin-installonlyn  Obsoletes: yum-plugin-installonlyn
61  Obsoletes: yum-protect-packages <= 1.1.16  Obsoletes: yum-protect-packages <= 1.1.16
62    Requires: yum-plugin-post-transaction-actions
63  Requires: mailx  Requires: mailx
64    Requires: deltarpm
65    Requires: yum-cron
66  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
67  BuildRequires: python  BuildRequires: python
68  Conflicts: centos-yumconf  Conflicts: centos-yumconf
# Line 32  AutoReqProv: no Line 70  AutoReqProv: no
70  %description  %description
71  %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
72    
73    %prep
74    %setup
75    %patch0 -p1
76    %patch1 -p1
77    %patch2 -p1
78    %patch3 -p1
79    %patch4 -p1
80    %patch5 -p1
81    %patch6 -p1
82    %patch7 -p1
83    %patch8 -p1
84    %patch9 -p1
85    %patch10 -p1
86    %patch11 -p1
87    %patch12 -p1
88    %patch13 -p1
89    %patch14 -p1
90    %patch15 -p1
91    %patch16 -p1
92    %patch17 -p1
93    %patch18 -p1
94    %patch19 -p1
95    %patch20 -p1
96    %patch21 -p1
97    %patch22 -p1
98    %patch23 -p1
99    %patch24 -p1
100    %patch25 -p1
101    %patch26 -p1
102    %patch27 -p1
103    %patch28 -p1
104    %patch29 -p1
105    %patch30 -p1
106    %patch31 -p1
107    %patch32 -p1
108    
109    %build
110    perl createlinks
111    ln -s /var/service/yum root/service/yum
112    mkdir -p root/etc/yum.smerepos.d
113    
114    %install
115    /bin/rm -rf $RPM_BUILD_ROOT
116    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
117    /bin/rm -f %{name}-%{version}-filelist
118    /sbin/e-smith/genfilelist \
119        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
120        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
121        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
122        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
123        --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
124        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
125        --file /var/service/yum/down 'attr(0644,root,root)' \
126        --file /var/service/yum/run 'attr(0755,root,root)' \
127        --dir /var/service/yum/log 'attr(0755,root,root)' \
128        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
129        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
130        --file /var/service/yum/log/run 'attr(0755,root,root)' \
131        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
132        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
133    
134    %clean
135    /bin/rm -rf $RPM_BUILD_ROOT
136    
137    %files -f %{name}-%{version}-%{release}-filelist
138    
139    %defattr(-,root,root)
140    
141    
142  %changelog  %changelog
143    * Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-39.sme
144    - fix switch to vault BaseURL for CentOS [SME: 11227]
145    
146    * Mon Nov 16 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-38.sme
147    - add remi-safe as base repo [SME: 11179]
148    - smeserver-yum-update event created [SME: 11168]
149    
150    * Sun Nov 15 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-37.sme
151    - fix separate action before template, and after service [SME: 11175]
152      run all actions with post-upgrade as default event
153    
154    * Tue Nov 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-36.sme
155    - fix some templates not expanded [SME: 11121]
156    
157    * Tue Oct 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-35.sme
158    - fix smeserver.py not executing action because of wrong path [SME: 11047]
159    
160    * Mon Jun 22 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-33.sme
161    - fix error when key absent of a dict of smeserver plugin at clean stage [SME: 10931]
162    
163    * Thu Jan 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-32.sme
164    - avoid missing template error after removal of a rpm [SME: 10846]
165    
166    * Thu Jan 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-30.sme
167    - restart php-fpm services when needed [SME: 10873]
168    
169    * Mon Dec 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-29.sme
170    - applying patch [SME: 10690]
171    
172    * Sun Dec 08 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-27.sme
173    - fix NameError: global name 'yum_update_dbs' is not defined [SME: 6940]
174    
175    * Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-26.sme
176    - use yum-cron with autoupdate feature [SME: 10690]
177      * use yum-cron for download only or auto update
178      * yum-cron.conf templates
179      * update lock path
180      * settings in server-manager
181      * remove yumdownloadonly script and crontab template
182    
183    * Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-25.sme
184    - fix typo on patch [SME: 10249]
185    
186    * Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-24.sme
187    - fix header detected as package [SME: 10843]
188    - avoid discrepancy between manager, cli and email [SME: 6940]
189      * force refresh of metadata before db generation
190      * add regeneration of db during check4updates, after yum update/install/remove
191    - fix no installed groups file [SME: 118]
192    - switch to centos vault after EOL [SME: 10249]
193    - update http://mirrorlist.contribs.org/mirrorlist to https://mirrorlist.koozali.org/mirrorlist [SME: 9697]
194    - make smecontribs visible [SME: 10716]
195    
196    * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-22.sme
197    - add openfusion gpg key [SME: 10742]
198    
199    * Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-21.sme
200    - updated EOL patch [SME: 10170]
201    
202    * Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
203    - add yum-priority as requirement [SME: 6499]
204      add support for plugin priority using property priority im yum_repositories db
205      initial priority to 10 for sme*, base and updates repos.
206      property yum priority set as enabled as default
207    - avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388]
208    - update check4contribs email format to match check4updates [SME: 8782]
209    - improve yum plugin to avoid reboot [SME: 8705]
210      add nut support, add exclusions for -doc, -devel... subpackages
211    
212    * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
213    - add message to indicate EOL after Jun 30 2024 fix [SME: 10170]
214    
215    * Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
216    - add yum-plugin-post-transaction-actions as requirement [SME: 1100]
217    
218    * Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
219    - add rpmfusion free el7 RPM GPG KEY [SME: 10263]
220    
221    * Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
222    - avoid reboot for smeserver-locale upgrade [SME: 8705]
223    - code by stefano zamboni <zamboni@mind-at-work.it>
224    
225    * Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
226    - correct service names with plugin to avoid reboot [SME: 8705]
227    - code by stefano zamboni <zamboni@mind-at-work.it>
228    
229    * Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
230    - fix KeyError with plugin to avoid reboot [SME: 8705]
231    - code by stefano zamboni <zamboni@mind-at-work.it>
232    
233    * Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
234    - remove centos contrib repo [SME: 10156]
235    
236    * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
237    - added centos SCLo SIG gpg rpm signing key [SME: 10119]
238    - will allow to install SCL packages directly from smecontribs
239    
240    * Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
241    - Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705]
242    - code by stefano zamboni <zamboni@mind-at-work.it>
243    - Avoid to reboot after the installation of a smeserver-* package
244    
245    * Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
246    - add Remi Collet RPM GPG KEY [SME: 9903]
247    
248    * Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme
249    - Rpm updates can be downloaded during the night [SME: 1502]
250    - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
251    
252    * Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
253    - Deltarpm is now a setting in the yum panel (disabled by default)
254    - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834]
255    
256    * Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
257    - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533]
258    
259    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
260    - Rebuild [SME: 9393]
261    
262    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
263    - yum points now to SME10 mirrors [SME: 9377]
264    - moved changelog at the end of file
265    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
266      by assuming the date is correct and changing the weekday.
267      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
268      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
269      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
270    
271    
272  * 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
273  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
274    [SME: 9229]    [SME: 9229]
# Line 270  AutoReqProv: no Line 506  AutoReqProv: no
506  * 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
507  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
508    
509  * 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
510      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
511  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
512  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
513    
514  * 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
515      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
516  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
517    
518  * 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 524  AutoReqProv: no
524    page is displayed from other sessions    page is displayed from other sessions
525  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
526    
527  * 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
528      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
529  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
530  - Alpha sort dependencies  - Alpha sort dependencies
531    
532  * 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
533      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
534  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
535    
536  * 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
537      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
538  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
539    
540  * 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
541      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
542  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
543  - Display yum output  - Display yum output
544  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 337  AutoReqProv: no Line 579  AutoReqProv: no
579  * 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
580  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
581    
582  * 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
583  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
584    
585  * 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
586  - 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
587    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
588    
589  * 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
590  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
591    
592  * 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 890  AutoReqProv: no
890    are modified for the SMEServer releases    are modified for the SMEServer releases
891  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
892    
893  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
894      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
895  - [1.1.0-01gr05]  - [1.1.0-01gr05]
896  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
897    
898  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
899      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
900  - [1.1.0-01gr04]  - [1.1.0-01gr04]
901  - Hide empty group/package select boxes  - Hide empty group/package select boxes
902    
# Line 898  AutoReqProv: no Line 1142  AutoReqProv: no
1142  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
1143  - [0.0.1a-01]  - [0.0.1a-01]
1144  - 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