1 |
# $Id: smeserver-yum.spec,v 1.50 2012/08/31 20:09:16 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.4 2013/03/06 15:26:22 slords 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 5 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
18 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
19 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
20 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
21 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
25 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
26 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
27 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
28 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
29 |
Requires: mailx |
Requires: mailx |
30 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
31 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
34 |
%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 |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
38 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
39 |
|
|
40 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
41 |
|
- Update GPG keys for sme9 [SME: 7465] |
42 |
|
|
43 |
|
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
44 |
|
- Add fasttrack and remove addons repo [SME: 7385] |
45 |
|
|
46 |
|
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
47 |
|
- Add back in missing parts from new stream [SME: 7305] |
48 |
|
|
49 |
* 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 |
50 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
51 |
|
|
873 |
|
|
874 |
%prep |
%prep |
875 |
%setup |
%setup |
876 |
|
%patch1 -p1 |
877 |
|
%patch2 -p1 |
878 |
|
|
879 |
%build |
%build |
880 |
perl createlinks |
perl createlinks |
881 |
|
ln -s /var/service/yum root/service/yum |
882 |
|
mkdir -p root/etc/yum.smerepos.d |
883 |
|
|
884 |
%install |
%install |
885 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |