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 46 |
%define release 57 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
50 |
Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch |
Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch |
51 |
Patch36: smeserver-yum-1.2.0-removeBaseURLs.patch |
Patch36: smeserver-yum-1.2.0-removeBaseURLs.patch |
52 |
Patch37: smeserver-yum-1.2.0-uptodate.patch |
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 |
|
Patch44: smeserver-yum-1.2.0-crontab.patch |
60 |
|
Patch45: smeserver-yum-1.2.0-smeextras.patch |
61 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
62 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
63 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick >= 1.4.0-12 |
64 |
|
Requires: e-smith-base |
65 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
66 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
67 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
68 |
Provides: yumconf |
Provides: yumconf |
69 |
|
Obsoletes: check4updates |
70 |
|
Provides: check4updates |
71 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
72 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
|
Obsoletes: check4updates |
|
73 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
74 |
|
Obsoletes: yum-plugin-installonlyn |
75 |
Requires: yum-fastestmirror |
Requires: yum-fastestmirror |
76 |
%else |
%else |
77 |
Requires: rpmdb-CentOS |
Requires: rpmdb-CentOS |
78 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
79 |
|
Requires: yum-plugin-installonlyn |
80 |
%endif |
%endif |
81 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
82 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
85 |
%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 |
86 |
|
|
87 |
%changelog |
%changelog |
88 |
* Wed Jan 09 2008 Stephen Noble <support@dungog.net>1.2.0-46 |
* Fri Sep 19 2008 Shad L. Lords <slords@mail.com> 1.2.0-57 |
89 |
|
- Add smeextras repo database and information [SME: 4585] |
90 |
|
|
91 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-56 |
92 |
|
- Remove links to crontab in bootstrap-console-save [SME: 4494] |
93 |
|
|
94 |
|
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-55 |
95 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
96 |
|
|
97 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-54 |
98 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4290] |
99 |
|
|
100 |
|
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 1.2.0-53 |
101 |
|
- Include installonlyn plugin to manage kernels [SME: 2101] |
102 |
|
|
103 |
|
* Mon Mar 31 2008 Stephen Noble <support@dungog.net> 1.2.0-52 |
104 |
|
- Delete dungog repository, reworked [SME: 4097] |
105 |
|
|
106 |
|
* Fri Mar 14 2008 Shad L. Lords <slords@mail.com> 1.2.0-51 |
107 |
|
- Clean up "rpm -qa" warnings in yum wrapper [SME: 4052] |
108 |
|
|
109 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-50 |
110 |
|
- Remove <base> tags now in general [SME: 3914] |
111 |
|
|
112 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-49 |
113 |
|
- Remove duplicate <base> entries [SME: 3889] |
114 |
|
|
115 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-48 |
116 |
|
- Put check4updates obsoletes & provides in the right place [SME: 3250] |
117 |
|
|
118 |
|
* Fri Jan 11 2008 Shad L. Lords <slords@mail.com> 1.2.0-47 |
119 |
|
- Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] |
120 |
|
|
121 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
122 |
- Add server is up to date message on panel [SME: 2512] |
- Add server is up to date message on panel [SME: 2512] |
123 |
|
|
124 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
878 |
%patch35 -p1 |
%patch35 -p1 |
879 |
%patch36 -p1 |
%patch36 -p1 |
880 |
%patch37 -p1 |
%patch37 -p1 |
881 |
|
%patch38 -p1 |
882 |
|
%patch39 -p1 |
883 |
|
%patch40 -p1 |
884 |
|
%patch41 -p1 |
885 |
|
%patch42 -p1 |
886 |
|
%patch43 -p1 |
887 |
|
%patch44 -p1 |
888 |
|
%patch45 -p1 |
889 |
|
|
890 |
%build |
%build |
891 |
perl createlinks |
perl createlinks |
900 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
901 |
|
|
902 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
903 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
904 |
do |
do |
905 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
906 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
920 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
921 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
922 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
923 |
|
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
924 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
925 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
926 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |