1 |
# $Id: smeserver-yum.spec,v 1.1 2013/01/31 18:15:34 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.11 2014/11/19 18:03:49 stephdl 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 2 |
%define release 10 |
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.default_db_check4contribsupdates.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
23 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
24 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
25 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
26 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
30 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
31 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
32 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
33 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
34 |
Requires: mailx |
Requires: mailx |
35 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
36 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
39 |
%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 |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
43 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
44 |
|
|
45 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
46 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
47 |
|
|
48 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
49 |
|
- Move protected package list to the correct location [SME: 8476] |
50 |
|
|
51 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
52 |
|
- Change order of mail options in check4updates [SME: 7504] |
53 |
|
|
54 |
|
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
55 |
|
- Change wording of Software Update button [SME: 7499] |
56 |
|
|
57 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
58 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
59 |
|
|
60 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
61 |
|
- Update GPG keys for sme9 [SME: 7465] |
62 |
|
|
63 |
|
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
64 |
|
- Add fasttrack and remove addons repo [SME: 7385] |
65 |
|
|
66 |
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
67 |
- Add back in missing parts from new stream [SME: 7305] |
- Add back in missing parts from new stream [SME: 7305] |
68 |
|
|
893 |
|
|
894 |
%prep |
%prep |
895 |
%setup |
%setup |
896 |
|
%patch1 -p1 |
897 |
|
%patch2 -p1 |
898 |
|
%patch3 -p1 |
899 |
|
%patch4 -p1 |
900 |
|
%patch5 -p1 |
901 |
|
%patch6 -p1 |
902 |
|
%patch7 -p1 |
903 |
|
|
904 |
%build |
%build |
905 |
perl createlinks |
perl createlinks |
914 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
915 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
916 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
917 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
918 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
919 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
920 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |