1 |
%define _unpackaged_files_terminate_build 0 |
%if "%{?rhel}" == "5" |
2 |
|
%define _unpackaged_files_terminate_build 0 |
3 |
|
%endif |
4 |
|
|
|
Summary: YUM, an rpm updater |
|
5 |
%define name smeserver-yum |
%define name smeserver-yum |
6 |
|
Summary: YUM, an rpm updaterdefine name smeserver-yum |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.2.0 |
%define version 1.2.0 |
9 |
%define release 39 |
%define release 51 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
43 |
Patch28: smeserver-yum-1.2.0-gpgkeys.patch |
Patch28: smeserver-yum-1.2.0-gpgkeys.patch |
44 |
Patch29: smeserver-yum-1.2.0-FixUninitializedValue.patch |
Patch29: smeserver-yum-1.2.0-FixUninitializedValue.patch |
45 |
Patch30: smeserver-yum-1.2.0-FixEnableGroups.patch |
Patch30: smeserver-yum-1.2.0-FixEnableGroups.patch |
46 |
|
Patch31: smeserver-yum-1.2.0-smecontribs.patch |
47 |
|
Patch32: smeserver-yum-1.2.0-importkeys-update.patch |
48 |
|
Patch33: smeserver-yum-1.2.0-check4updates.patch |
49 |
|
Patch34: smeserver-yum-1.2.0-yumlocal.patch |
50 |
|
Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch |
51 |
|
Patch36: smeserver-yum-1.2.0-removeBaseURLs.patch |
52 |
|
Patch37: smeserver-yum-1.2.0-uptodate.patch |
53 |
|
Patch38: smeserver-yum-1.2.0-check4updates.patch2 |
54 |
|
Patch39: smeserver-yum-1.2.0-rmFormTitle2.patch |
55 |
|
Patch40: smeserver-yum-1.2.0-tags2general.patch |
56 |
|
Patch41: smeserver-yum-1.2.0-cleanyum.patch |
57 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
58 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
59 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick >= 1.4.0-9 |
60 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
61 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
62 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
63 |
Provides: yumconf |
Provides: yumconf |
64 |
|
Obsoletes: check4updates |
65 |
|
Provides: check4updates |
66 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
67 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
68 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
78 |
%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 |
79 |
|
|
80 |
%changelog |
%changelog |
81 |
|
* Fri Mar 14 2008 Shad L. Lords <slords@mail.com> 1.2.0-51 |
82 |
|
- Clean up "rpm -qa" warnings in yum wrapper [SME: 4052] |
83 |
|
|
84 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-50 |
85 |
|
- Remove <base> tags now in general [SME: 3914] |
86 |
|
|
87 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-49 |
88 |
|
- Remove duplicate <base> entries [SME: 3889] |
89 |
|
|
90 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-48 |
91 |
|
- Put check4updates obsoletes & provides in the right place [SME: 3250] |
92 |
|
|
93 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-47 |
94 |
|
- Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] |
95 |
|
|
96 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
97 |
|
- Add server is up to date message on panel [SME: 2512] |
98 |
|
|
99 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
100 |
|
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
101 |
|
|
102 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
103 |
|
- safesymlink yum into local [SME: 3238] |
104 |
|
|
105 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
106 |
|
- add check4updates cronjob, obsolete check4updates rpm [SME: 3250] |
107 |
|
|
108 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-42 |
109 |
|
- yum-import-keys action to yum-update event [SME: 3196] |
110 |
|
|
111 |
|
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
112 |
|
- add smecontribs repo [SME: 3551] |
113 |
|
|
114 |
|
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
115 |
|
- Remove bad mirror and add two new mirrors. [SME: 3636] |
116 |
|
|
117 |
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
118 |
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
119 |
|
|
846 |
%patch28 -p1 |
%patch28 -p1 |
847 |
%patch29 -p1 |
%patch29 -p1 |
848 |
%patch30 -p1 |
%patch30 -p1 |
849 |
|
%patch31 -p1 |
850 |
|
%patch32 -p1 |
851 |
|
%patch33 -p1 |
852 |
|
%patch34 -p1 |
853 |
|
%patch35 -p1 |
854 |
|
%patch36 -p1 |
855 |
|
%patch37 -p1 |
856 |
|
%patch38 -p1 |
857 |
|
%patch39 -p1 |
858 |
|
%patch40 -p1 |
859 |
|
%patch41 -p1 |
860 |
|
|
861 |
%build |
%build |
862 |
perl createlinks |
perl createlinks |
871 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
872 |
|
|
873 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
874 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
875 |
do |
do |
876 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
877 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
878 |
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/$repo/\$basearch |
http://sme-mirror.voxteneo.com/releases/7/$repo/\$basearch |
879 |
|
http://smemirror.fullnet.co.uk/releases/7/$repo/\$basearch |
880 |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
881 |
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 |
882 |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
891 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
892 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
893 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
894 |
|
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
895 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
896 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
897 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |