1 |
# $Id: smeserver-yum.spec,v 1.50 2012/08/31 20:09:16 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.24 2019/02/02 18:33:20 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.4.0 |
%define version 2.4.0 |
7 |
%define release 1 |
%define release 23 |
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 |
|
Patch1: smeserver-yum-2.4.0-addons_fasttrack.patch |
14 |
|
Patch2: smeserver-yum-2.4.0-updatekeys.patch |
15 |
|
Patch3: smeserver-yum-2.4.0-SoftwareUpdate.patch |
16 |
|
Patch4: smeserver-yum-2.4.0-Check4Updates.patch |
17 |
|
Patch5: smeserver-yum-2.4.0-protected_packages.patch |
18 |
|
Patch6: smeserver-yum-2.4.0.check4updates_to_smecontribs.patch |
19 |
|
Patch7: smeserver-yum-2.4.0-can_update_contribs_1_by_1.patch |
20 |
|
Patch8: smeserver-yum-2.4.0.bz9902.remiGPG.patch |
21 |
|
Patch9: smeserver-yum-2.4.0.bz10102.scloGPGkey.patch |
22 |
|
Patch10: smeserver-yum-2.4.0.bz10264.patch |
23 |
|
Patch11: smeserver-yum-2.2.0-bz10171-SME9eol.patch |
24 |
|
Patch12: smeserver-yum-2.4.0-bz10741-openfusion.patch |
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
28 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
29 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
30 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
31 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
35 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
36 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
37 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
38 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
39 |
|
Requires: yum-plugin-post-transaction-actions |
40 |
Requires: mailx |
Requires: mailx |
41 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
42 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
45 |
%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 |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-23.sme |
49 |
|
- add openfusion gpg key [SME: 10741] |
50 |
|
|
51 |
|
* Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-22.sme |
52 |
|
- update patch for EOL [SME: 10171] |
53 |
|
|
54 |
|
* Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-20.sme |
55 |
|
- add message to indicate EOL after Nov 30 2020 fix [SME: 10171] |
56 |
|
|
57 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-17.sme |
58 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 10191] |
59 |
|
|
60 |
|
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-16.sme |
61 |
|
- add rpmfusion free el6 RPM GPG key [SME: 10264] |
62 |
|
|
63 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-15.sme |
64 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10102] |
65 |
|
- wil allow to install SCL packages directly from smecontribs |
66 |
|
|
67 |
|
* Sun Jan 08 2017 BogusDateBot |
68 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
69 |
|
by assuming the date is correct and changing the weekday. |
70 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
71 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
72 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
73 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
74 |
|
|
75 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-14.sme |
76 |
|
- add Remi Collet RPM GPG KEY [SME: 9902] |
77 |
|
- bump 13 to 14 to cvs add patch |
78 |
|
|
79 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
80 |
|
- Example to update contribs 1 by 1 [SME: 8850] |
81 |
|
|
82 |
|
* Sat Feb 21 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
83 |
|
- Set the check update frequency of smecontribs through the server-manager |
84 |
|
- [SME: 8855] |
85 |
|
|
86 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
87 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
88 |
|
|
89 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
90 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
91 |
|
|
92 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
93 |
|
- Move protected package list to the correct location [SME: 8476] |
94 |
|
|
95 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
96 |
|
- Change order of mail options in check4updates [SME: 7504] |
97 |
|
|
98 |
|
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
99 |
|
- Change wording of Software Update button [SME: 7499] |
100 |
|
|
101 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
102 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
103 |
|
|
104 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
105 |
|
- Update GPG keys for sme9 [SME: 7465] |
106 |
|
|
107 |
|
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
108 |
|
- Add fasttrack and remove addons repo [SME: 7385] |
109 |
|
|
110 |
|
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
111 |
|
- Add back in missing parts from new stream [SME: 7305] |
112 |
|
|
113 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
114 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
115 |
|
|
306 |
* 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 |
307 |
- Revert to 10s panel refresh [SME: 2097] |
- Revert to 10s panel refresh [SME: 2097] |
308 |
|
|
309 |
* 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 |
310 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
311 |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
312 |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
313 |
|
|
314 |
* 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 |
315 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
316 |
- Adjust wording on post-upgrade page [SME: 2076] |
- Adjust wording on post-upgrade page [SME: 2076] |
317 |
|
|
318 |
* 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 |
324 |
page is displayed from other sessions |
page is displayed from other sessions |
325 |
- TODO: Re-add display of LogFile prior to reconfigure |
- TODO: Re-add display of LogFile prior to reconfigure |
326 |
|
|
327 |
* 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 |
328 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
329 |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
330 |
- Alpha sort dependencies |
- Alpha sort dependencies |
331 |
|
|
332 |
* 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 |
333 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
334 |
- Add MirrorList options to each of the SME repos [SME: 1163] |
- Add MirrorList options to each of the SME repos [SME: 1163] |
335 |
|
|
336 |
* 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 |
337 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
338 |
- Put back missed patch for post-upgrade [SME: 2071] |
- Put back missed patch for post-upgrade [SME: 2071] |
339 |
|
|
340 |
* 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 |
341 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
342 |
- Re-add post-upgrade handling [SME: 2071] |
- Re-add post-upgrade handling [SME: 2071] |
343 |
- Display yum output |
- Display yum output |
344 |
- Lower refresh to 3 seconds from 10 |
- Lower refresh to 3 seconds from 10 |
379 |
* 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 |
380 |
- Roll stable stream version. [SME: 1016] |
- Roll stable stream version. [SME: 1016] |
381 |
|
|
382 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26 |
* Mon Mar 06 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26 |
383 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
384 |
- And migrate old SME repo URLs to new paths [SME: 951] |
- And migrate old SME repo URLs to new paths [SME: 951] |
385 |
|
|
386 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25 |
* Mon Mar 06 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25 |
387 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
388 |
- 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 |
389 |
with CentOS repos and can remove the symlinks [SME: 951] |
with CentOS repos and can remove the symlinks [SME: 951] |
390 |
|
|
391 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24 |
* Mon Mar 06 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24 |
392 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
393 |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
394 |
|
|
395 |
* 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 |
693 |
are modified for the SMEServer releases |
are modified for the SMEServer releases |
694 |
- INSTALL: Need to manually remove old version of yum_repositories DB |
- INSTALL: Need to manually remove old version of yum_repositories DB |
695 |
|
|
696 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
697 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
698 |
- [1.1.0-01gr05] |
- [1.1.0-01gr05] |
699 |
- Add enable/disable repository support to configuration page |
- Add enable/disable repository support to configuration page |
700 |
|
|
701 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
702 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
703 |
- [1.1.0-01gr04] |
- [1.1.0-01gr04] |
704 |
- Hide empty group/package select boxes |
- Hide empty group/package select boxes |
705 |
|
|
948 |
|
|
949 |
%prep |
%prep |
950 |
%setup |
%setup |
951 |
|
%patch1 -p1 |
952 |
|
%patch2 -p1 |
953 |
|
%patch3 -p1 |
954 |
|
%patch4 -p1 |
955 |
|
%patch5 -p1 |
956 |
|
%patch6 -p1 |
957 |
|
%patch7 -p1 |
958 |
|
%patch8 -p1 |
959 |
|
%patch9 -p1 |
960 |
|
%patch10 -p1 |
961 |
|
%patch11 -p1 |
962 |
|
%patch12 -p1 |
963 |
|
|
964 |
%build |
%build |
965 |
perl createlinks |
perl createlinks |
966 |
|
ln -s /var/service/yum root/service/yum |
967 |
|
mkdir -p root/etc/yum.smerepos.d |
968 |
|
|
969 |
%install |
%install |
970 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
974 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
975 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
976 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
977 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
978 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
979 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
980 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |