commit 6f2de3ad352656be9d12010b2d14a0c70b09c4c7
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Mar 3 22:32:44 2013 +0200

    cleanup crons; license version

 yum.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/yum.spec b/yum.spec
index dc0f357..f6d244c 100644
--- a/yum.spec
+++ b/yum.spec
@@ -4,18 +4,12 @@
 
 # TODO
 # - PLDize (or drop) /etc/yum/version-groups.conf
-# - decide about cron:
-#   /etc/cron.daily/0yum.cron
-#   /etc/rc.d/init.d/yum-cron
-#   /etc/sysconfig/yum-cron
-#   /etc/yum/yum-daily.yum
-#   /etc/yum/yum-weekly.yum
 Summary:       RPM installer/updater
 Summary(pl.UTF-8):     Narzędzie do instalowania/uaktualniania pakietów RPM
 Name:          yum
 Version:       3.4.3
 Release:       2
-License:       GPL
+License:       GPL v2+
 Group:         Applications/System
 Source0:       http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz
 # Source0-md5: 7c8ea8beba5b4e7fe0c215e4ebaa26ed
@@ -120,6 +114,13 @@ install -d 
$RPM_BUILD_ROOT{%{_sysconfdir}/yum/pluginconf.d,%{_libdir}/yum-plugin
        PYLIBDIR=%{py_scriptdir} \
        DESTDIR=$RPM_BUILD_ROOT
 
+# no cron (unstable, and poldek is main pkg manager)
+%{__rm} $RPM_BUILD_ROOT/etc/cron.daily/0yum.cron
+%{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/yum-cron
+%{__rm} $RPM_BUILD_ROOT/etc/sysconfig/yum-cron
+%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/yum/yum-daily.yum
+%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/yum/yum-weekly.yum
+
 # for now, move repodir/yum.conf back
 mv $RPM_BUILD_ROOT%{_sysconfdir}/{yum/repos.d,/yum.repos.d}
 mv $RPM_BUILD_ROOT%{_sysconfdir}/{yum/yum.conf,yum.conf}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yum.git/commitdiff/6f2de3ad352656be9d12010b2d14a0c70b09c4c7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to