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 40 |
%define release 48 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch29: smeserver-yum-1.2.0-FixUninitializedValue.patch |
43 |
Patch30: smeserver-yum-1.2.0-FixEnableGroups.patch |
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 |
|
Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch |
49 |
|
Patch36: smeserver-yum-1.2.0-removeBaseURLs.patch |
50 |
|
Patch37: smeserver-yum-1.2.0-uptodate.patch |
51 |
|
Patch38: smeserver-yum-1.2.0-check4updates.patch2 |
52 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
53 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
54 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
56 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
57 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
58 |
Provides: yumconf |
Provides: yumconf |
59 |
|
Obsoletes: check4updates |
60 |
|
Provides: check4updates |
61 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
62 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
63 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
73 |
%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 |
74 |
|
|
75 |
%changelog |
%changelog |
76 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-48 |
77 |
|
- Put check4updates obsoletes & provides in the right place [SME: 3250] |
78 |
|
|
79 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-47 |
80 |
|
- Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] |
81 |
|
|
82 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
83 |
|
- Add server is up to date message on panel [SME: 2512] |
84 |
|
|
85 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
86 |
|
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
87 |
|
|
88 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
89 |
|
- safesymlink yum into local [SME: 3238] |
90 |
|
|
91 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
92 |
|
- add check4updates cronjob, obsolete check4updates rpm [SME: 3250] |
93 |
|
|
94 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-42 |
95 |
|
- yum-import-keys action to yum-update event [SME: 3196] |
96 |
|
|
97 |
|
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
98 |
|
- add smecontribs repo [SME: 3551] |
99 |
|
|
100 |
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
101 |
- Remove bad mirror and add two new mirrors. [SME: 3636] |
- Remove bad mirror and add two new mirrors. [SME: 3636] |
102 |
|
|
832 |
%patch28 -p1 |
%patch28 -p1 |
833 |
%patch29 -p1 |
%patch29 -p1 |
834 |
%patch30 -p1 |
%patch30 -p1 |
835 |
|
%patch31 -p1 |
836 |
|
%patch32 -p1 |
837 |
|
%patch33 -p1 |
838 |
|
%patch34 -p1 |
839 |
|
%patch35 -p1 |
840 |
|
%patch36 -p1 |
841 |
|
%patch37 -p1 |
842 |
|
%patch38 -p1 |
843 |
|
|
844 |
%build |
%build |
845 |
perl createlinks |
perl createlinks |
854 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
855 |
|
|
856 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
857 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
858 |
do |
do |
859 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
860 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
874 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
875 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
876 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
877 |
|
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
878 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
879 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
880 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |