4 |
%define name smeserver-yum |
%define name smeserver-yum |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.2.0 |
%define version 1.2.0 |
7 |
%define release 37 |
%define release 44 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
39 |
Patch26: smeserver-yum-1.2.0-restrictAvailable.patch |
Patch26: smeserver-yum-1.2.0-restrictAvailable.patch |
40 |
Patch27: smeserver-yum-1.2.0-restrictAvailable.patch2 |
Patch27: smeserver-yum-1.2.0-restrictAvailable.patch2 |
41 |
Patch28: smeserver-yum-1.2.0-gpgkeys.patch |
Patch28: smeserver-yum-1.2.0-gpgkeys.patch |
42 |
|
Patch29: smeserver-yum-1.2.0-FixUninitializedValue.patch |
43 |
|
Patch30: smeserver-yum-1.2.0-FixEnableGroups.patch |
44 |
|
Patch31: smeserver-yum-1.2.0-smecontribs.patch |
45 |
|
Patch32: smeserver-yum-1.2.0-importkeys-update.patch |
46 |
|
Patch33: smeserver-yum-1.2.0-check4updates.patch |
47 |
|
Patch34: smeserver-yum-1.2.0-yumlocal.patch |
48 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
49 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
50 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
54 |
Provides: yumconf |
Provides: yumconf |
55 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
56 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
57 |
|
Obsoletes: check4updates |
58 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
59 |
Requires: yum-fastestmirror |
Requires: yum-fastestmirror |
60 |
%else |
%else |
68 |
%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 |
69 |
|
|
70 |
%changelog |
%changelog |
71 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
72 |
|
- safesymlink yum into local [SME: 3238] |
73 |
|
|
74 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
75 |
|
- add check4updates cronjob, obsolete check4updates rpm [SME: 3250] |
76 |
|
|
77 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-42 |
78 |
|
- yum-import-keys action to yum-update event [SME: 3196] |
79 |
|
|
80 |
|
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
81 |
|
- add smecontribs repo [SME: 3551] |
82 |
|
|
83 |
|
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
84 |
|
- Remove bad mirror and add two new mirrors. [SME: 3636] |
85 |
|
|
86 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
87 |
|
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
88 |
|
|
89 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-38 |
90 |
|
- Fix use of uninitialized value in migrate 10GPG_and_Groups. [SME: 2491] |
91 |
|
|
92 |
* Sat Jul 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-37 |
* Sat Jul 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-37 |
93 |
- Add GPG keys for CentOS 5 [SME: 3160] |
- Add GPG keys for CentOS 5 [SME: 3160] |
94 |
|
|
813 |
%patch26 -p1 |
%patch26 -p1 |
814 |
%patch27 -p1 |
%patch27 -p1 |
815 |
%patch28 -p1 |
%patch28 -p1 |
816 |
|
%patch29 -p1 |
817 |
|
%patch30 -p1 |
818 |
|
%patch31 -p1 |
819 |
|
%patch32 -p1 |
820 |
|
%patch33 -p1 |
821 |
|
%patch34 -p1 |
822 |
|
|
823 |
%build |
%build |
824 |
perl createlinks |
perl createlinks |
833 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
834 |
|
|
835 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
836 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
837 |
do |
do |
838 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
839 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
840 |
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/$repo/\$basearch |
http://sme-mirror.voxteneo.com/releases/7/$repo/\$basearch |
841 |
|
http://smemirror.fullnet.co.uk/releases/7/$repo/\$basearch |
842 |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
843 |
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
844 |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |