1 |
# $Id: smeserver-yum.spec,v 1.14 2016/01/13 10:55:43 vip-ire Exp $ |
# $Id: smeserver-yum.spec,v 1.41 2019/12/09 00:17:19 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 28 |
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 |
|
|
39 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
40 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
48 |
Provides: check4updates |
Provides: check4updates |
49 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
50 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
51 |
|
Requires: yum-plugin-priorities |
52 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
53 |
Obsoletes: yum-protect-packages <= 1.1.16 |
Obsoletes: yum-protect-packages <= 1.1.16 |
54 |
|
Requires: yum-plugin-post-transaction-actions |
55 |
Requires: mailx |
Requires: mailx |
56 |
|
Requires: deltarpm |
57 |
|
Requires: yum-cron |
58 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
59 |
|
BuildRequires: python |
60 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
61 |
AutoReqProv: no |
AutoReqProv: no |
62 |
%description |
%description |
63 |
%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 |
64 |
|
|
65 |
|
%prep |
66 |
|
%setup |
67 |
|
%patch0 -p1 |
68 |
|
%patch1 -p1 |
69 |
|
%patch2 -p1 |
70 |
|
%patch3 -p1 |
71 |
|
%patch4 -p1 |
72 |
|
%patch5 -p1 |
73 |
|
%patch6 -p1 |
74 |
|
%patch7 -p1 |
75 |
|
%patch8 -p1 |
76 |
|
%patch9 -p1 |
77 |
|
%patch10 -p1 |
78 |
|
%patch11 -p1 |
79 |
|
%patch12 -p1 |
80 |
|
%patch13 -p1 |
81 |
|
%patch14 -p1 |
82 |
|
%patch15 -p1 |
83 |
|
%patch16 -p1 |
84 |
|
%patch17 -p1 |
85 |
|
%patch18 -p1 |
86 |
|
%patch19 -p1 |
87 |
|
%patch20 -p1 |
88 |
|
%patch21 -p1 |
89 |
|
%patch22 -p1 |
90 |
|
%patch23 -p1 |
91 |
|
%patch24 -p1 |
92 |
|
|
93 |
|
%build |
94 |
|
perl createlinks |
95 |
|
ln -s /var/service/yum root/service/yum |
96 |
|
mkdir -p root/etc/yum.smerepos.d |
97 |
|
|
98 |
|
%install |
99 |
|
/bin/rm -rf $RPM_BUILD_ROOT |
100 |
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
101 |
|
/bin/rm -f %{name}-%{version}-filelist |
102 |
|
/sbin/e-smith/genfilelist \ |
103 |
|
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
104 |
|
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
105 |
|
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
106 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
107 |
|
--file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ |
108 |
|
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
109 |
|
--file /var/service/yum/down 'attr(0644,root,root)' \ |
110 |
|
--file /var/service/yum/run 'attr(0755,root,root)' \ |
111 |
|
--dir /var/service/yum/log 'attr(0755,root,root)' \ |
112 |
|
--dir /var/service/yum/log/supervise 'attr(0700,root,root)' \ |
113 |
|
--dir /var/service/yum/supervise 'attr(0700,root,root)' \ |
114 |
|
--file /var/service/yum/log/run 'attr(0755,root,root)' \ |
115 |
|
--dir /var/log/yum 'attr(2750,smelog,smelog)' \ |
116 |
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
117 |
|
|
118 |
|
%clean |
119 |
|
/bin/rm -rf $RPM_BUILD_ROOT |
120 |
|
|
121 |
|
%files -f %{name}-%{version}-%{release}-filelist |
122 |
|
|
123 |
|
%defattr(-,root,root) |
124 |
|
|
125 |
|
|
126 |
%changelog |
%changelog |
127 |
|
* Mon Dec 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-28.sme |
128 |
|
- applying patch [SME: 10690] |
129 |
|
|
130 |
|
* Sun Dec 08 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-27.sme |
131 |
|
- fix NameError: global name 'yum_update_dbs' is not defined [SME: 6940] |
132 |
|
|
133 |
|
* Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-26.sme |
134 |
|
- use yum-cron with autoupdate feature [SME: 10690] |
135 |
|
* use yum-cron for download only or auto update |
136 |
|
* yum-cron.conf templates |
137 |
|
* update lock path |
138 |
|
* settings in server-manager |
139 |
|
* remove yumdownloadonly script and crontab template |
140 |
|
|
141 |
|
* Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-25.sme |
142 |
|
- fix typo on patch [SME: 10249] |
143 |
|
|
144 |
|
* Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-24.sme |
145 |
|
- fix header detected as package [SME: 10843] |
146 |
|
- avoid discrepancy between manager, cli and email [SME: 6940] |
147 |
|
* force refresh of metadata before db generation |
148 |
|
* add regeneration of db during check4updates, after yum update/install/remove |
149 |
|
- fix no installed groups file [SME: 118] |
150 |
|
- switch to centos vault after EOL [SME: 10249] |
151 |
|
- update http://mirrorlist.contribs.org/mirrorlist to https://mirrorlist.koozali.org/mirrorlist [SME: 9697] |
152 |
|
- make smecontribs visible [SME: 10716] |
153 |
|
|
154 |
|
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-22.sme |
155 |
|
- add openfusion gpg key [SME: 10742] |
156 |
|
|
157 |
|
* Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-21.sme |
158 |
|
- updated EOL patch [SME: 10170] |
159 |
|
|
160 |
|
* Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme |
161 |
|
- add yum-priority as requirement [SME: 6499] |
162 |
|
add support for plugin priority using property priority im yum_repositories db |
163 |
|
initial priority to 10 for sme*, base and updates repos. |
164 |
|
property yum priority set as enabled as default |
165 |
|
- avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388] |
166 |
|
- update check4contribs email format to match check4updates [SME: 8782] |
167 |
|
- improve yum plugin to avoid reboot [SME: 8705] |
168 |
|
add nut support, add exclusions for -doc, -devel... subpackages |
169 |
|
|
170 |
|
* Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme |
171 |
|
- add message to indicate EOL after Jun 30 2024 fix [SME: 10170] |
172 |
|
|
173 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme |
174 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 1100] |
175 |
|
|
176 |
|
* Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme |
177 |
|
- add rpmfusion free el7 RPM GPG KEY [SME: 10263] |
178 |
|
|
179 |
|
* Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme |
180 |
|
- avoid reboot for smeserver-locale upgrade [SME: 8705] |
181 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
182 |
|
|
183 |
|
* Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
184 |
|
- correct service names with plugin to avoid reboot [SME: 8705] |
185 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
186 |
|
|
187 |
|
* Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme |
188 |
|
- fix KeyError with plugin to avoid reboot [SME: 8705] |
189 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
190 |
|
|
191 |
|
* Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
192 |
|
- remove centos contrib repo [SME: 10156] |
193 |
|
|
194 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
195 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10119] |
196 |
|
- will allow to install SCL packages directly from smecontribs |
197 |
|
|
198 |
|
* Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme |
199 |
|
- Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705] |
200 |
|
- code by stefano zamboni <zamboni@mind-at-work.it> |
201 |
|
- Avoid to reboot after the installation of a smeserver-* package |
202 |
|
|
203 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
204 |
|
- add Remi Collet RPM GPG KEY [SME: 9903] |
205 |
|
|
206 |
|
* Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme |
207 |
|
- Rpm updates can be downloaded during the night [SME: 1502] |
208 |
|
- Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch |
209 |
|
|
210 |
|
* Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme |
211 |
|
- Deltarpm is now a setting in the yum panel (disabled by default) |
212 |
|
- Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834] |
213 |
|
|
214 |
|
* Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
215 |
|
- adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533] |
216 |
|
|
217 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
218 |
|
- Rebuild [SME: 9393] |
219 |
|
|
220 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
221 |
|
- yum points now to SME10 mirrors [SME: 9377] |
222 |
|
- moved changelog at the end of file |
223 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
224 |
|
by assuming the date is correct and changing the weekday. |
225 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
226 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
227 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
228 |
|
|
229 |
|
|
230 |
|
* Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
231 |
|
- Add python to BuildReq so brp-python-bytecode compiles sme yum plugin |
232 |
|
[SME: 9229] |
233 |
|
|
234 |
* 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 |
235 |
- Initial release to sme10 |
- Initial release to sme10 |
236 |
|
|
464 |
* 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 |
465 |
- Revert to 10s panel refresh [SME: 2097] |
- Revert to 10s panel refresh [SME: 2097] |
466 |
|
|
467 |
* 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 |
468 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
469 |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
470 |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
471 |
|
|
472 |
* 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 |
473 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
474 |
- Adjust wording on post-upgrade page [SME: 2076] |
- Adjust wording on post-upgrade page [SME: 2076] |
475 |
|
|
476 |
* 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 |
482 |
page is displayed from other sessions |
page is displayed from other sessions |
483 |
- TODO: Re-add display of LogFile prior to reconfigure |
- TODO: Re-add display of LogFile prior to reconfigure |
484 |
|
|
485 |
* 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 |
486 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
487 |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
488 |
- Alpha sort dependencies |
- Alpha sort dependencies |
489 |
|
|
490 |
* 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 |
491 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
492 |
- Add MirrorList options to each of the SME repos [SME: 1163] |
- Add MirrorList options to each of the SME repos [SME: 1163] |
493 |
|
|
494 |
* 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 |
495 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
496 |
- Put back missed patch for post-upgrade [SME: 2071] |
- Put back missed patch for post-upgrade [SME: 2071] |
497 |
|
|
498 |
* 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 |
499 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
500 |
- Re-add post-upgrade handling [SME: 2071] |
- Re-add post-upgrade handling [SME: 2071] |
501 |
- Display yum output |
- Display yum output |
502 |
- Lower refresh to 3 seconds from 10 |
- Lower refresh to 3 seconds from 10 |
537 |
* 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 |
538 |
- Roll stable stream version. [SME: 1016] |
- Roll stable stream version. [SME: 1016] |
539 |
|
|
540 |
* 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 |
541 |
- And migrate old SME repo URLs to new paths [SME: 951] |
- And migrate old SME repo URLs to new paths [SME: 951] |
542 |
|
|
543 |
* 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 |
544 |
- 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 |
545 |
with CentOS repos and can remove the symlinks [SME: 951] |
with CentOS repos and can remove the symlinks [SME: 951] |
546 |
|
|
547 |
* 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 |
548 |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
549 |
|
|
550 |
* 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 |
848 |
are modified for the SMEServer releases |
are modified for the SMEServer releases |
849 |
- INSTALL: Need to manually remove old version of yum_repositories DB |
- INSTALL: Need to manually remove old version of yum_repositories DB |
850 |
|
|
851 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
852 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
853 |
- [1.1.0-01gr05] |
- [1.1.0-01gr05] |
854 |
- Add enable/disable repository support to configuration page |
- Add enable/disable repository support to configuration page |
855 |
|
|
856 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
857 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
858 |
- [1.1.0-01gr04] |
- [1.1.0-01gr04] |
859 |
- Hide empty group/package select boxes |
- Hide empty group/package select boxes |
860 |
|
|
1100 |
* Thu Jan 22 2004 Darrell May <dmay@myezserver.com> |
* Thu Jan 22 2004 Darrell May <dmay@myezserver.com> |
1101 |
- [0.0.1a-01] |
- [0.0.1a-01] |
1102 |
- 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) |
|
|
|
|