1 |
# $Id: smeserver-yum.spec,v 1.8 2013/04/30 03:13:06 wellsi Exp $ |
# $Id: smeserver-yum.spec,v 1.31 2020/01/28 21:08:54 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 8 |
%define release 30 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch3: smeserver-yum-2.4.0-SoftwareUpdate.patch |
Patch3: smeserver-yum-2.4.0-SoftwareUpdate.patch |
16 |
Patch4: smeserver-yum-2.4.0-Check4Updates.patch |
Patch4: smeserver-yum-2.4.0-Check4Updates.patch |
17 |
Patch5: smeserver-yum-2.4.0-protected_packages.patch |
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 |
|
Patch13: smeserver-yum-2.4.0.bz10250.CentOSVault.onEOL.patch |
26 |
|
|
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
29 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
38 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
39 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
40 |
Obsoletes: yum-protect-packages <= 1.1.16 |
Obsoletes: yum-protect-packages <= 1.1.16 |
41 |
|
Requires: yum-plugin-post-transaction-actions |
42 |
Requires: mailx |
Requires: mailx |
43 |
|
Requires: perl(File::Slurp) |
44 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
45 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
46 |
AutoReqProv: no |
AutoReqProv: no |
48 |
%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 |
49 |
|
|
50 |
%changelog |
%changelog |
51 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-30.sme |
52 |
|
- fix EOL patch to switch to vault [SME: 10250] |
53 |
|
fix string capture |
54 |
|
add default to 6.10 in case of failure |
55 |
|
add option to set it yourself via eolversion property of yum in config |
56 |
|
fix Mirrorlist preventing the BaseURL setting |
57 |
|
|
58 |
|
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-29.sme |
59 |
|
- fix last patch [SME: 10250] |
60 |
|
|
61 |
|
* Mon Dec 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-27.sme |
62 |
|
- add requirement for perl(File::Slurp) [SME: 10250] |
63 |
|
|
64 |
|
* Thu Dec 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-26.sme |
65 |
|
- switch to vault for upstream repos after EOL [SME: 10250] |
66 |
|
|
67 |
|
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-23.sme |
68 |
|
- add openfusion gpg key [SME: 10741] |
69 |
|
|
70 |
|
* Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-22.sme |
71 |
|
- update patch for EOL [SME: 10171] |
72 |
|
|
73 |
|
* Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-20.sme |
74 |
|
- add message to indicate EOL after Nov 30 2020 fix [SME: 10171] |
75 |
|
|
76 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-17.sme |
77 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 10191] |
78 |
|
|
79 |
|
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-16.sme |
80 |
|
- add rpmfusion free el6 RPM GPG key [SME: 10264] |
81 |
|
|
82 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-15.sme |
83 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10102] |
84 |
|
- wil allow to install SCL packages directly from smecontribs |
85 |
|
|
86 |
|
* Sun Jan 08 2017 BogusDateBot |
87 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
88 |
|
by assuming the date is correct and changing the weekday. |
89 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
90 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
91 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
92 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
93 |
|
|
94 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-14.sme |
95 |
|
- add Remi Collet RPM GPG KEY [SME: 9902] |
96 |
|
- bump 13 to 14 to cvs add patch |
97 |
|
|
98 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
99 |
|
- Example to update contribs 1 by 1 [SME: 8850] |
100 |
|
|
101 |
|
* Sat Feb 21 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
102 |
|
- Set the check update frequency of smecontribs through the server-manager |
103 |
|
- [SME: 8855] |
104 |
|
|
105 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
106 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
107 |
|
|
108 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
109 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
110 |
|
|
111 |
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
112 |
- Move protected package list to the correct location [SME: 8476] |
- Move protected package list to the correct location [SME: 8476] |
113 |
|
|
325 |
* 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 |
326 |
- Revert to 10s panel refresh [SME: 2097] |
- Revert to 10s panel refresh [SME: 2097] |
327 |
|
|
328 |
* 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 |
329 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
330 |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
331 |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
332 |
|
|
333 |
* 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 |
334 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
335 |
- Adjust wording on post-upgrade page [SME: 2076] |
- Adjust wording on post-upgrade page [SME: 2076] |
336 |
|
|
337 |
* 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 |
343 |
page is displayed from other sessions |
page is displayed from other sessions |
344 |
- TODO: Re-add display of LogFile prior to reconfigure |
- TODO: Re-add display of LogFile prior to reconfigure |
345 |
|
|
346 |
* 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 |
347 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
348 |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
349 |
- Alpha sort dependencies |
- Alpha sort dependencies |
350 |
|
|
351 |
* 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 |
352 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
353 |
- Add MirrorList options to each of the SME repos [SME: 1163] |
- Add MirrorList options to each of the SME repos [SME: 1163] |
354 |
|
|
355 |
* 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 |
356 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
357 |
- Put back missed patch for post-upgrade [SME: 2071] |
- Put back missed patch for post-upgrade [SME: 2071] |
358 |
|
|
359 |
* 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 |
360 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
361 |
- Re-add post-upgrade handling [SME: 2071] |
- Re-add post-upgrade handling [SME: 2071] |
362 |
- Display yum output |
- Display yum output |
363 |
- Lower refresh to 3 seconds from 10 |
- Lower refresh to 3 seconds from 10 |
398 |
* 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 |
399 |
- Roll stable stream version. [SME: 1016] |
- Roll stable stream version. [SME: 1016] |
400 |
|
|
401 |
* 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 |
402 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
403 |
- And migrate old SME repo URLs to new paths [SME: 951] |
- And migrate old SME repo URLs to new paths [SME: 951] |
404 |
|
|
405 |
* 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 |
406 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
407 |
- 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 |
408 |
with CentOS repos and can remove the symlinks [SME: 951] |
with CentOS repos and can remove the symlinks [SME: 951] |
409 |
|
|
410 |
* 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 |
411 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
412 |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
413 |
|
|
414 |
* 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 |
712 |
are modified for the SMEServer releases |
are modified for the SMEServer releases |
713 |
- INSTALL: Need to manually remove old version of yum_repositories DB |
- INSTALL: Need to manually remove old version of yum_repositories DB |
714 |
|
|
715 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
716 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
717 |
- [1.1.0-01gr05] |
- [1.1.0-01gr05] |
718 |
- Add enable/disable repository support to configuration page |
- Add enable/disable repository support to configuration page |
719 |
|
|
720 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
721 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
722 |
- [1.1.0-01gr04] |
- [1.1.0-01gr04] |
723 |
- Hide empty group/package select boxes |
- Hide empty group/package select boxes |
724 |
|
|
972 |
%patch3 -p1 |
%patch3 -p1 |
973 |
%patch4 -p1 |
%patch4 -p1 |
974 |
%patch5 -p1 |
%patch5 -p1 |
975 |
|
%patch6 -p1 |
976 |
|
%patch7 -p1 |
977 |
|
%patch8 -p1 |
978 |
|
%patch9 -p1 |
979 |
|
%patch10 -p1 |
980 |
|
%patch11 -p1 |
981 |
|
%patch12 -p1 |
982 |
|
%patch13 -p1 |
983 |
|
|
984 |
%build |
%build |
985 |
perl createlinks |
perl createlinks |
994 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
995 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
996 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
997 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
998 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
999 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
1000 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |