--- rpms/smeserver-yum/sme9/smeserver-yum.spec 2013/03/06 15:26:22 1.4 +++ rpms/smeserver-yum/sme9/smeserver-yum.spec 2015/01/10 10:29:38 1.12 @@ -1,10 +1,10 @@ -# $Id: smeserver-yum.spec,v 1.3 2013/02/27 19:19:26 vip-ire Exp $ +# $Id: smeserver-yum.spec,v 1.11 2014/11/19 18:03:49 stephdl Exp $ %define name smeserver-yum Summary: YUM, an rpm updater Name: %{name} %define version 2.4.0 -%define release 4 +%define release 10 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -12,11 +12,15 @@ Group: SMEServer/addon Source: %{name}-%{version}.tar.xz Patch1: smeserver-yum-2.4.0-addons_fasttrack.patch Patch2: smeserver-yum-2.4.0-updatekeys.patch +Patch3: smeserver-yum-2.4.0-SoftwareUpdate.patch +Patch4: smeserver-yum-2.4.0-Check4Updates.patch +Patch5: smeserver-yum-2.4.0-protected_packages.patch +Patch6: smeserver-yum-2.4.0.check4updates_to_smecontribs.patch +Patch7: smeserver-yum-2.4.0.default_db_check4contribsupdates.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-formmagick >= 1.4.0-12 Requires: e-smith-base -Requires: yum-protect-packages Requires: perl(CGI::FormMagick) >= 0.91-26 Requires: rpm-python >= 4.0.4-7x.18 Requires: yum >= 1.0.3-1_73 @@ -26,6 +30,7 @@ Provides: check4updates Obsoletes: rpmdb-CentOS Requires: yum-plugin-fastestmirror Obsoletes: yum-plugin-installonlyn +Obsoletes: yum-protect-packages <= 1.1.16 Requires: mailx BuildRequires: e-smith-devtools >= 1.13.1-03 Conflicts: centos-yumconf @@ -34,6 +39,24 @@ AutoReqProv: no %name is an implementation of http://linux.duke.edu/projects/yum on SME Server %changelog +* Sat Jan 10 2015 Stephane de Labrusse 2.4.0-10.sme +- Add a default Yum db property for check4contribsupdates [SME: 8790] + +* Wed Nov 19 2014 Stephane de Labrusse 2.4.0-9.sme +- Added a check-update for the smecontribs repository [SME: 8672] + +* Mon Jun 30 2014 Daniel Berteaud 2.4.0-8.sme +- Move protected package list to the correct location [SME: 8476] + +* Fri Mar 22 2013 Ian Wells 2.4.0-7.sme +- Change order of mail options in check4updates [SME: 7504] + +* Sun Mar 17 2013 Ian Wells 2.4.0-6.sme +- Change wording of Software Update button [SME: 7499] + +* Wed Mar 6 2013 Shad L. Lords 2.4.0-5.sme +- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] + * Wed Mar 6 2013 Shad L. Lords 2.4.0-4.sme - Update GPG keys for sme9 [SME: 7465] @@ -872,6 +895,11 @@ AutoReqProv: no %setup %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 %build perl createlinks @@ -886,6 +914,7 @@ mkdir -p root/etc/yum.smerepos.d --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 '/sbin/e-smith/check4contribsupdates' '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)' \