1 |
# $Id: smeserver-yum.spec,v 1.7 2013/03/22 14:48:20 wellsi Exp $ |
# $Id: smeserver-yum.spec,v 1.28 2019/12/05 20:50:36 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 7 |
%define release 27 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch2: smeserver-yum-2.4.0-updatekeys.patch |
Patch2: smeserver-yum-2.4.0-updatekeys.patch |
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 |
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 |
|
* Mon Dec 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-27.sme |
52 |
|
- add requirement for perl(File::Slurp) [SME: 10250] |
53 |
|
|
54 |
|
* Thu Dec 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-26.sme |
55 |
|
- switch to vault for upstream repos after EOL [SME: 10250] |
56 |
|
|
57 |
|
* Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-23.sme |
58 |
|
- add openfusion gpg key [SME: 10741] |
59 |
|
|
60 |
|
* Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-22.sme |
61 |
|
- update patch for EOL [SME: 10171] |
62 |
|
|
63 |
|
* Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-20.sme |
64 |
|
- add message to indicate EOL after Nov 30 2020 fix [SME: 10171] |
65 |
|
|
66 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-17.sme |
67 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 10191] |
68 |
|
|
69 |
|
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-16.sme |
70 |
|
- add rpmfusion free el6 RPM GPG key [SME: 10264] |
71 |
|
|
72 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-15.sme |
73 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10102] |
74 |
|
- wil allow to install SCL packages directly from smecontribs |
75 |
|
|
76 |
|
* Sun Jan 08 2017 BogusDateBot |
77 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
78 |
|
by assuming the date is correct and changing the weekday. |
79 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
80 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
81 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
82 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
83 |
|
|
84 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-14.sme |
85 |
|
- add Remi Collet RPM GPG KEY [SME: 9902] |
86 |
|
- bump 13 to 14 to cvs add patch |
87 |
|
|
88 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
89 |
|
- Example to update contribs 1 by 1 [SME: 8850] |
90 |
|
|
91 |
|
* Sat Feb 21 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
92 |
|
- Set the check update frequency of smecontribs through the server-manager |
93 |
|
- [SME: 8855] |
94 |
|
|
95 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
96 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
97 |
|
|
98 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
99 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
100 |
|
|
101 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
102 |
|
- Move protected package list to the correct location [SME: 8476] |
103 |
|
|
104 |
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
105 |
- Change order of mail options in check4updates [SME: 7504] |
- Change order of mail options in check4updates [SME: 7504] |
106 |
|
|
315 |
* 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 |
316 |
- Revert to 10s panel refresh [SME: 2097] |
- Revert to 10s panel refresh [SME: 2097] |
317 |
|
|
318 |
* 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 |
319 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
320 |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
321 |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
322 |
|
|
323 |
* 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 |
324 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
325 |
- Adjust wording on post-upgrade page [SME: 2076] |
- Adjust wording on post-upgrade page [SME: 2076] |
326 |
|
|
327 |
* 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 |
333 |
page is displayed from other sessions |
page is displayed from other sessions |
334 |
- TODO: Re-add display of LogFile prior to reconfigure |
- TODO: Re-add display of LogFile prior to reconfigure |
335 |
|
|
336 |
* 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 |
337 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
338 |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
339 |
- Alpha sort dependencies |
- Alpha sort dependencies |
340 |
|
|
341 |
* 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 |
342 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
343 |
- Add MirrorList options to each of the SME repos [SME: 1163] |
- Add MirrorList options to each of the SME repos [SME: 1163] |
344 |
|
|
345 |
* 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 |
346 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
347 |
- Put back missed patch for post-upgrade [SME: 2071] |
- Put back missed patch for post-upgrade [SME: 2071] |
348 |
|
|
349 |
* 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 |
350 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
351 |
- Re-add post-upgrade handling [SME: 2071] |
- Re-add post-upgrade handling [SME: 2071] |
352 |
- Display yum output |
- Display yum output |
353 |
- Lower refresh to 3 seconds from 10 |
- Lower refresh to 3 seconds from 10 |
388 |
* 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 |
389 |
- Roll stable stream version. [SME: 1016] |
- Roll stable stream version. [SME: 1016] |
390 |
|
|
391 |
* 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 |
392 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
393 |
- And migrate old SME repo URLs to new paths [SME: 951] |
- And migrate old SME repo URLs to new paths [SME: 951] |
394 |
|
|
395 |
* 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 |
396 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
397 |
- 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 |
398 |
with CentOS repos and can remove the symlinks [SME: 951] |
with CentOS repos and can remove the symlinks [SME: 951] |
399 |
|
|
400 |
* 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 |
401 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
402 |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
403 |
|
|
404 |
* 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 |
702 |
are modified for the SMEServer releases |
are modified for the SMEServer releases |
703 |
- INSTALL: Need to manually remove old version of yum_repositories DB |
- INSTALL: Need to manually remove old version of yum_repositories DB |
704 |
|
|
705 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
706 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
707 |
- [1.1.0-01gr05] |
- [1.1.0-01gr05] |
708 |
- Add enable/disable repository support to configuration page |
- Add enable/disable repository support to configuration page |
709 |
|
|
710 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
711 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
712 |
- [1.1.0-01gr04] |
- [1.1.0-01gr04] |
713 |
- Hide empty group/package select boxes |
- Hide empty group/package select boxes |
714 |
|
|
961 |
%patch2 -p1 |
%patch2 -p1 |
962 |
%patch3 -p1 |
%patch3 -p1 |
963 |
%patch4 -p1 |
%patch4 -p1 |
964 |
|
%patch5 -p1 |
965 |
|
%patch6 -p1 |
966 |
|
%patch7 -p1 |
967 |
|
%patch8 -p1 |
968 |
|
%patch9 -p1 |
969 |
|
%patch10 -p1 |
970 |
|
%patch11 -p1 |
971 |
|
%patch12 -p1 |
972 |
|
%patch13 -p1 |
973 |
|
|
974 |
%build |
%build |
975 |
perl createlinks |
perl createlinks |
984 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
985 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
986 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
987 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
988 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
989 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
990 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |