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 47 |
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 |
59 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
60 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
61 |
Obsoletes: check4updates |
Obsoletes: check4updates |
62 |
|
Provides: 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-47 |
77 |
|
- Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] |
78 |
|
|
79 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
80 |
|
- Add server is up to date message on panel [SME: 2512] |
81 |
|
|
82 |
* 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 |
83 |
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
84 |
|
|
835 |
%patch34 -p1 |
%patch34 -p1 |
836 |
%patch35 -p1 |
%patch35 -p1 |
837 |
%patch36 -p1 |
%patch36 -p1 |
838 |
|
%patch37 -p1 |
839 |
|
%patch38 -p1 |
840 |
|
|
841 |
%build |
%build |
842 |
perl createlinks |
perl createlinks |
871 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
872 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
873 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
874 |
|
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
875 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
876 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
877 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |