1 |
# $Id: smeserver-yum.spec,v 1.5 2013/03/11 22:50:18 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.19 2017/11/06 21:51:29 unnilennium 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 6 |
%define release 18 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
13 |
Patch1: smeserver-yum-2.4.0-addons_fasttrack.patch |
Patch1: smeserver-yum-2.4.0-addons_fasttrack.patch |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
35 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
36 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
37 |
Obsoletes: yum-protect-packages <= 1.1.16 |
Obsoletes: yum-protect-packages <= 1.1.16 |
38 |
|
Requires: yum-plugin-post-transaction-actions |
39 |
Requires: mailx |
Requires: mailx |
40 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
41 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
44 |
%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 |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-18.sme |
48 |
|
- add message to indicate EOL after Nov 30 2020 fix [SME: 10171] |
49 |
|
|
50 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-17.sme |
51 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 10191] |
52 |
|
|
53 |
|
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-16.sme |
54 |
|
- add rpmfusion free el6 RPM GPG key [SME: 10264] |
55 |
|
|
56 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-15.sme |
57 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10102] |
58 |
|
- wil allow to install SCL packages directly from smecontribs |
59 |
|
|
60 |
|
* Sun Jan 08 2017 BogusDateBot |
61 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
62 |
|
by assuming the date is correct and changing the weekday. |
63 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
64 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
65 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
66 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
67 |
|
|
68 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-14.sme |
69 |
|
- add Remi Collet RPM GPG KEY [SME: 9902] |
70 |
|
- bump 13 to 14 to cvs add patch |
71 |
|
|
72 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
73 |
|
- Example to update contribs 1 by 1 [SME: 8850] |
74 |
|
|
75 |
|
* Sat Feb 21 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
76 |
|
- Set the check update frequency of smecontribs through the server-manager |
77 |
|
- [SME: 8855] |
78 |
|
|
79 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
80 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
81 |
|
|
82 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
83 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
84 |
|
|
85 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
86 |
|
- Move protected package list to the correct location [SME: 8476] |
87 |
|
|
88 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
89 |
|
- Change order of mail options in check4updates [SME: 7504] |
90 |
|
|
91 |
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
92 |
- Change wording of Software Update button [SME: 7499] |
- Change wording of Software Update button [SME: 7499] |
93 |
|
|
299 |
* 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 |
300 |
- Revert to 10s panel refresh [SME: 2097] |
- Revert to 10s panel refresh [SME: 2097] |
301 |
|
|
302 |
* 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 |
303 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
304 |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
305 |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
306 |
|
|
307 |
* 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 |
308 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
309 |
- Adjust wording on post-upgrade page [SME: 2076] |
- Adjust wording on post-upgrade page [SME: 2076] |
310 |
|
|
311 |
* 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 |
317 |
page is displayed from other sessions |
page is displayed from other sessions |
318 |
- TODO: Re-add display of LogFile prior to reconfigure |
- TODO: Re-add display of LogFile prior to reconfigure |
319 |
|
|
320 |
* 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 |
321 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
322 |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
323 |
- Alpha sort dependencies |
- Alpha sort dependencies |
324 |
|
|
325 |
* 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 |
326 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
327 |
- Add MirrorList options to each of the SME repos [SME: 1163] |
- Add MirrorList options to each of the SME repos [SME: 1163] |
328 |
|
|
329 |
* 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 |
330 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
331 |
- Put back missed patch for post-upgrade [SME: 2071] |
- Put back missed patch for post-upgrade [SME: 2071] |
332 |
|
|
333 |
* 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 |
334 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
335 |
- Re-add post-upgrade handling [SME: 2071] |
- Re-add post-upgrade handling [SME: 2071] |
336 |
- Display yum output |
- Display yum output |
337 |
- Lower refresh to 3 seconds from 10 |
- Lower refresh to 3 seconds from 10 |
372 |
* 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 |
373 |
- Roll stable stream version. [SME: 1016] |
- Roll stable stream version. [SME: 1016] |
374 |
|
|
375 |
* 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 |
376 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
377 |
- And migrate old SME repo URLs to new paths [SME: 951] |
- And migrate old SME repo URLs to new paths [SME: 951] |
378 |
|
|
379 |
* 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 |
380 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
381 |
- 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 |
382 |
with CentOS repos and can remove the symlinks [SME: 951] |
with CentOS repos and can remove the symlinks [SME: 951] |
383 |
|
|
384 |
* 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 |
385 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
386 |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
387 |
|
|
388 |
* 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 |
686 |
are modified for the SMEServer releases |
are modified for the SMEServer releases |
687 |
- INSTALL: Need to manually remove old version of yum_repositories DB |
- INSTALL: Need to manually remove old version of yum_repositories DB |
688 |
|
|
689 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
690 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
691 |
- [1.1.0-01gr05] |
- [1.1.0-01gr05] |
692 |
- Add enable/disable repository support to configuration page |
- Add enable/disable repository support to configuration page |
693 |
|
|
694 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
695 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
696 |
- [1.1.0-01gr04] |
- [1.1.0-01gr04] |
697 |
- Hide empty group/package select boxes |
- Hide empty group/package select boxes |
698 |
|
|
944 |
%patch1 -p1 |
%patch1 -p1 |
945 |
%patch2 -p1 |
%patch2 -p1 |
946 |
%patch3 -p1 |
%patch3 -p1 |
947 |
|
%patch4 -p1 |
948 |
|
%patch5 -p1 |
949 |
|
%patch6 -p1 |
950 |
|
%patch7 -p1 |
951 |
|
%patch8 -p1 |
952 |
|
%patch9 -p1 |
953 |
|
%patch10 -p1 |
954 |
|
%patch11 -p1 |
955 |
|
|
956 |
%build |
%build |
957 |
perl createlinks |
perl createlinks |
966 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
967 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
968 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
969 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
970 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
971 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
972 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |