--- rpms/smeserver-yum/sme8/smeserver-yum.spec 2009/04/10 14:46:31 1.31 +++ rpms/smeserver-yum/sme8/smeserver-yum.spec 2010/10/01 05:30:13 1.48 @@ -1,10 +1,10 @@ -# $Id: smeserver-yum.spec,v 1.30 2008/11/24 16:16:18 slords Exp $ +# $Id: smeserver-yum.spec,v 1.47 2010/10/01 05:29:11 snetram Exp $ %define name smeserver-yum Summary: YUM, an rpm updater Name: %{name} %define version 2.2.0 -%define release 6 +%define release 18 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -14,6 +14,15 @@ Patch1: smeserver-yum-2.2.0-extras.patch Patch2: smeserver-yum-2.2.0-repodir.patch Patch3: smeserver-yum-2.2.0-buffer.patch Patch4: smeserver-yum-2.2.0-protected.patch +Patch5: smeserver-yum-2.2.0-mirrorlist.patch +Patch6: smeserver-yum-2.2.0-updatetoggle.patch +Patch7: smeserver-yum-2.2.0-nosemi.patch +Patch8: smeserver-yum-2.2.0-unsavedchanges.patch +Patch9: smeserver-yum-2.2.0-import-keys.patch +Patch10: smeserver-yum-2.2.0-fixremove.patch +Patch11: smeserver-yum-2.2.0-migratelist.patch +Patch12: smeserver-yum-2.2.0-migrate_undefined.patch +Patch13: smeserver-yum-2.2.0-trigger-reboot-on-kernel-update.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-formmagick >= 1.4.0-12 @@ -29,7 +38,7 @@ Obsoletes: rpmdb-CentOS Obsoletes: yum-plugin-fastestmirror Obsoletes: yum-plugin-installonlyn Requires: yum-fastestmirror -Requries: mailx +Requires: mailx BuildRequires: e-smith-devtools >= 1.13.1-03 Conflicts: centos-yumconf AutoReqProv: no @@ -37,6 +46,48 @@ AutoReqProv: no %name is an implementation of http://linux.duke.edu/projects/yum on SME Server %changelog +* Fri Oct 1 2010 Jonathan Martens 2.2.0-18.sme +- Trigger post-upgrade and reboot on kernel updates [SME: 6166] + +* Sat Jun 12 2010 Shad L. Lords 2.2.0-17.sme +- Fix migrate fragment to not throw warnings [SME: 5705] + +* Wed Jun 02 2010 Shad L. Lords 2.2.0-16.sme +- Fix yum database removal (missing one) [SME: 5705] + +* Wed Jun 02 2010 Shad L. Lords 2.2.0-15.sme +- Migrate MirrorList properties to sme8 repos [SME: 5705] +- Remove BaseURL properties if migrating to sme8 repos [SME: 5949] +- Remove yum databases and repodata if migrating to sme8 repos [SME: 5998] + +* Mon May 17 2010 Jonathan Martens 2.2.0-14.sme +- Revert previous change [SME: 5962] + +* Mon May 17 2010 Jonathan Martens 2.2.0-13.sme +- Migrate CentOS Exclude property default values to smeserver-yum [SME: 5962] + +* Thu Nov 5 2009 Shad L. Lords 2.2.0-12.sme +- only unlink file if we created it [SME: 5476] + +* Wed Oct 14 2009 Filipo Carletti 2.2.0-11.sme +- Import only keys not already imported [SME: 5507] + +* Tue Sep 15 2009 Shad L. Lords 2.2.0-10.sme +- set unsaved changes in yum event [SME: 5475] +- move yum warming to sme yum plugin [SME: 5474] +- ensure file exists before unlinking [SME: 5476] +- remove semicolons from yum plugin + +* Tue Sep 15 2009 Shad L. Lords 2.2.0-9.sme +- Add frequency of updates toggle [SME: 3764] +- remove stray file + +* Sat May 30 2009 Shad L. Lords 2.2.0-8.sme +- Add /etc/yum.smerepos.d to package [SME: 5305] + +* Mon May 18 2009 Shad L. Lords 2.2.0-7.sme +- Change SME mirrorlists to point to ibiblio [SME: 5242] + * Fri Apr 10 2009 Jonathan Martens 2.2.0-6.sme - Require mailx [SME: 5131] @@ -817,6 +868,15 @@ AutoReqProv: no %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 %build perl createlinks @@ -827,26 +887,10 @@ mkdir -p root/var/service/yum/supervise touch root/var/service/yum/down mkdir -p root/var/service/yum/log/supervise mkdir -p root/var/log/yum +mkdir -p root/etc/yum.smerepos.d mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} -# TODO: Remove testing when released -ver=testing/8 - -mkdir -p root/etc/yum.repos.d/ root/etc/yum.smerepos.d/ -for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing -do - cat > root/etc/yum.repos.d/mirrors-$repo <