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 45 |
%define release 48 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
47 |
Patch34: smeserver-yum-1.2.0-yumlocal.patch |
Patch34: smeserver-yum-1.2.0-yumlocal.patch |
48 |
Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch |
Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch |
49 |
Patch36: smeserver-yum-1.2.0-removeBaseURLs.patch |
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 |
|
Obsoletes: check4updates |
|
63 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
64 |
Requires: yum-fastestmirror |
Requires: yum-fastestmirror |
65 |
%else |
%else |
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 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
86 |
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
87 |
|
|
838 |
%patch34 -p1 |
%patch34 -p1 |
839 |
%patch35 -p1 |
%patch35 -p1 |
840 |
%patch36 -p1 |
%patch36 -p1 |
841 |
|
%patch37 -p1 |
842 |
|
%patch38 -p1 |
843 |
|
|
844 |
%build |
%build |
845 |
perl createlinks |
perl createlinks |
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)' \ |