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 37 |
%define release 55 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
41 |
Patch26: smeserver-yum-1.2.0-restrictAvailable.patch |
Patch26: smeserver-yum-1.2.0-restrictAvailable.patch |
42 |
Patch27: smeserver-yum-1.2.0-restrictAvailable.patch2 |
Patch27: smeserver-yum-1.2.0-restrictAvailable.patch2 |
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 |
45 |
|
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 |
|
Patch42: smeserver-yum-1.2.0-deletedungog.patch |
58 |
|
Patch43: smeserver-yum-1.2.0-add2general.patch |
59 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
60 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
61 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick >= 1.4.0-12 |
62 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
63 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
64 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
65 |
Provides: yumconf |
Provides: yumconf |
66 |
|
Obsoletes: check4updates |
67 |
|
Provides: check4updates |
68 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
69 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
70 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
71 |
|
Obsoletes: yum-plugin-installonlyn |
72 |
Requires: yum-fastestmirror |
Requires: yum-fastestmirror |
73 |
%else |
%else |
74 |
Requires: rpmdb-CentOS |
Requires: rpmdb-CentOS |
75 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
76 |
|
Requires: yum-plugin-installonlyn |
77 |
%endif |
%endif |
78 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
79 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
82 |
%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 |
83 |
|
|
84 |
%changelog |
%changelog |
85 |
* Sat Jul 14 2007 Stephen Noble <support@dungog.net> 1.2.0-37 |
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-55 |
86 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
87 |
|
|
88 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-54 |
89 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4290] |
90 |
|
|
91 |
|
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 1.2.0-53 |
92 |
|
- Include installonlyn plugin to manage kernels [SME: 2101] |
93 |
|
|
94 |
|
* Mon Mar 31 2008 Stephen Noble <support@dungog.net> 1.2.0-52 |
95 |
|
- Delete dungog repository, reworked [SME: 4097] |
96 |
|
|
97 |
|
* Fri Mar 14 2008 Shad L. Lords <slords@mail.com> 1.2.0-51 |
98 |
|
- Clean up "rpm -qa" warnings in yum wrapper [SME: 4052] |
99 |
|
|
100 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-50 |
101 |
|
- Remove <base> tags now in general [SME: 3914] |
102 |
|
|
103 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-49 |
104 |
|
- Remove duplicate <base> entries [SME: 3889] |
105 |
|
|
106 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-48 |
107 |
|
- Put check4updates obsoletes & provides in the right place [SME: 3250] |
108 |
|
|
109 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-47 |
110 |
|
- Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] |
111 |
|
|
112 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
113 |
|
- Add server is up to date message on panel [SME: 2512] |
114 |
|
|
115 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
116 |
|
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
117 |
|
|
118 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
119 |
|
- safesymlink yum into local [SME: 3238] |
120 |
|
|
121 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
122 |
|
- add check4updates cronjob, obsolete check4updates rpm [SME: 3250] |
123 |
|
|
124 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-42 |
125 |
|
- yum-import-keys action to yum-update event [SME: 3196] |
126 |
|
|
127 |
|
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
128 |
|
- add smecontribs repo [SME: 3551] |
129 |
|
|
130 |
|
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
131 |
|
- Remove bad mirror and add two new mirrors. [SME: 3636] |
132 |
|
|
133 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
134 |
|
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
135 |
|
|
136 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-38 |
137 |
|
- Fix use of uninitialized value in migrate 10GPG_and_Groups. [SME: 2491] |
138 |
|
|
139 |
|
* Sat Jul 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-37 |
140 |
- Add GPG keys for CentOS 5 [SME: 3160] |
- Add GPG keys for CentOS 5 [SME: 3160] |
141 |
|
|
142 |
* Sun Jun 10 2007 Stephen Noble <support@dungog.net> 1.2.0-36 |
* Sun Jun 10 2007 Stephen Noble <support@dungog.net> 1.2.0-36 |
860 |
%patch26 -p1 |
%patch26 -p1 |
861 |
%patch27 -p1 |
%patch27 -p1 |
862 |
%patch28 -p1 |
%patch28 -p1 |
863 |
|
%patch29 -p1 |
864 |
|
%patch30 -p1 |
865 |
|
%patch31 -p1 |
866 |
|
%patch32 -p1 |
867 |
|
%patch33 -p1 |
868 |
|
%patch34 -p1 |
869 |
|
%patch35 -p1 |
870 |
|
%patch36 -p1 |
871 |
|
%patch37 -p1 |
872 |
|
%patch38 -p1 |
873 |
|
%patch39 -p1 |
874 |
|
%patch40 -p1 |
875 |
|
%patch41 -p1 |
876 |
|
%patch42 -p1 |
877 |
|
%patch43 -p1 |
878 |
|
|
879 |
%build |
%build |
880 |
perl createlinks |
perl createlinks |
889 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
890 |
|
|
891 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
892 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
893 |
do |
do |
894 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
895 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
896 |
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/$repo/\$basearch |
http://sme-mirror.voxteneo.com/releases/7/$repo/\$basearch |
897 |
|
http://smemirror.fullnet.co.uk/releases/7/$repo/\$basearch |
898 |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
899 |
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 |
900 |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
909 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
910 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
911 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
912 |
|
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
913 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
914 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
915 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |