--- rpms/smeserver-yum/sme7/smeserver-yum.spec 2008/01/08 20:30:13 1.8 +++ rpms/smeserver-yum/sme7/smeserver-yum.spec 2008/08/10 15:51:21 1.22 @@ -1,10 +1,12 @@ -%define _unpackaged_files_terminate_build 0 +%if "%{?rhel}" == "5" +%define _unpackaged_files_terminate_build 0 +%endif -Summary: YUM, an rpm updater %define name smeserver-yum +Summary: YUM, an rpm updaterdefine name smeserver-yum Name: %{name} %define version 1.2.0 -%define release 45 +%define release 56 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -47,21 +49,33 @@ Patch33: smeserver-yum-1.2.0-check4updat Patch34: smeserver-yum-1.2.0-yumlocal.patch Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch Patch36: smeserver-yum-1.2.0-removeBaseURLs.patch +Patch37: smeserver-yum-1.2.0-uptodate.patch +Patch38: smeserver-yum-1.2.0-check4updates.patch2 +Patch39: smeserver-yum-1.2.0-rmFormTitle2.patch +Patch40: smeserver-yum-1.2.0-tags2general.patch +Patch41: smeserver-yum-1.2.0-cleanyum.patch +Patch42: smeserver-yum-1.2.0-deletedungog.patch +Patch43: smeserver-yum-1.2.0-add2general.patch +Patch44: smeserver-yum-1.2.0-crontab.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch -Requires: e-smith-formmagick +Requires: e-smith-formmagick >= 1.4.0-12 +Requires: e-smith-base Requires: perl(CGI::FormMagick) >= 0.91-26 Requires: rpm-python >= 4.0.4-7x.18 Requires: yum >= 1.0.3-1_73 Provides: yumconf +Obsoletes: check4updates +Provides: check4updates %if "%{?rhel}" == "5" Obsoletes: rpmdb-CentOS -Obsoletes: check4updates Obsoletes: yum-plugin-fastestmirror +Obsoletes: yum-plugin-installonlyn Requires: yum-fastestmirror %else Requires: rpmdb-CentOS Requires: yum-plugin-fastestmirror +Requires: yum-plugin-installonlyn %endif BuildRequires: e-smith-devtools >= 1.13.1-03 Conflicts: centos-yumconf @@ -70,6 +84,39 @@ AutoReqProv: no %name is an implementation of http://linux.duke.edu/projects/yum on SME Server %changelog +* Sun Aug 10 2008 Shad L. Lords 1.2.0-56 +- Remove links to crontab in bootstrap-console-save [SME: 4494] + +* Sat Jul 5 2008 Jonathan Martens 1.2.0-55 +- Add common tags to e-smith-formmagick's general [SME: 4279] + +* Sun Apr 27 2008 Jonathan Martens 1.2.0-54 +- Add common tags to e-smith-formmagick's general [SME: 4290] + +* Mon Mar 31 2008 Shad L. Lords 1.2.0-53 +- Include installonlyn plugin to manage kernels [SME: 2101] + +* Mon Mar 31 2008 Stephen Noble 1.2.0-52 +- Delete dungog repository, reworked [SME: 4097] + +* Fri Mar 14 2008 Shad L. Lords 1.2.0-51 +- Clean up "rpm -qa" warnings in yum wrapper [SME: 4052] + +* Wed Feb 13 2008 Stephen Noble 1.2.0-50 +- Remove tags now in general [SME: 3914] + +* Sun Feb 10 2008 Stephen Noble 1.2.0-49 +- Remove duplicate entries [SME: 3889] + +* Fri Jan 11 2008 Shad L. Lords 1.2.0-48 +- Put check4updates obsoletes & provides in the right place [SME: 3250] + +* Fri Jan 11 2008 Shad L. Lords 1.2.0-47 +- Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] + +* Wed Jan 09 2008 Stephen Noble 1.2.0-46 +- Add server is up to date message on panel [SME: 2512] + * Mon Jan 7 2008 Stephen Noble 1.2.0-45 - remove BaseURL property for repos with mirrorlists [SME: 3275] @@ -826,6 +873,14 @@ rm root/usr/lib/perl5/site_perl/esmith/F %patch34 -p1 %patch35 -p1 %patch36 -p1 +%patch37 -p1 +%patch38 -p1 +%patch39 -p1 +%patch40 -p1 +%patch41 -p1 +%patch42 -p1 +%patch43 -p1 +%patch44 -p1 %build perl createlinks @@ -860,6 +915,7 @@ done /sbin/e-smith/genfilelist \ --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ + --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ --file /var/service/yum/down 'attr(0644,root,root)' \ --file /var/service/yum/run 'attr(0755,root,root)' \