SPECS (AC-branch): yum.spec - more deps for yum-updatesd, separate...
glen
glen at pld-linux.org
Mon Dec 17 09:40:17 CET 2007
Author: glen Date: Mon Dec 17 08:40:17 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- more deps for yum-updatesd, separate package for yum-updatesd
- yum-metadata-parser dep on base pkg
---- Files affected:
SPECS:
yum.spec (1.35.2.5 -> 1.35.2.6)
---- Diffs:
================================================================
Index: SPECS/yum.spec
diff -u SPECS/yum.spec:1.35.2.5 SPECS/yum.spec:1.35.2.6
--- SPECS/yum.spec:1.35.2.5 Mon Dec 17 09:21:01 2007
+++ SPECS/yum.spec Mon Dec 17 09:40:12 2007
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Narzędzie do instalowania/uaktualniania pakietów RPM
Name: yum
Version: 3.2.8
-Release: 1
+Release: 2
License: GPL
Group: Applications/System
Source0: http://linux.duke.edu/projects/yum/download/3.2/%{name}-%{version}.tar.gz
@@ -18,7 +18,6 @@
BuildRequires: gettext-devel
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.228
-Requires(post,preun): /sbin/chkconfig
Requires: python
Requires: python-cElementTree
Requires: python-libxml2
@@ -26,8 +25,8 @@
Requires: python-sqlite
Requires: python-sqlite1
Requires: python-urlgrabber
-Requires: rc-scripts
Requires: rpm
+Requires: yum-metadata-parser
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -40,6 +39,19 @@
uaktualnione pakiety RPM. Zależności są ściągane automatycznie po
zapytaniu użytkownika w razie potrzeby.
+%package updatesd
+Summary: RPM update notifier daemon
+Group: Networking/Daemons
+Requires(post,preun): /sbin/chkconfig
+Requires: %{name} = %{version}-%{release}
+Requires: dbus
+Requires: python-dbus
+Requires: rc-scripts
+
+%description updatesd
+This is a daemon which periodically checks for updates and can send
+notifications via mail, dbus or syslog.
+
%prep
%setup -q
%patch0 -p1
@@ -65,11 +77,11 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
+%post updatesd
/sbin/chkconfig --add yum-updatesd
%service yum-updatesd restart
-%preun
+%preun updatesd
if [ "$1" = "0" ]; then
/sbin/chkconfig --del yum-updatesd
%service -q yum-updatesd stop
@@ -83,12 +95,9 @@
%dir %{_sysconfdir}/yum/repos.d
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/repos.d/*.repo
%dir %{_sysconfdir}/yum/pluginconf.d
-%dir /etc/dbus-1/system.d/yum-updatesd.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/yum-updatesd.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
+
%attr(755,root,root) %{_bindir}/yum
-%attr(755,root,root) %{_sbindir}/yum-updatesd
-%attr(754,root,root) /etc/rc.d/init.d/yum-updatesd
%dir %{py_sitescriptdir}/yum
%dir %{py_sitescriptdir}/rpmUtils
%{_libdir}/yum-plugins
@@ -98,12 +107,23 @@
/var/cache/yum
%{_mandir}/man*/*
+%files updatesd
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/yum-updatesd.conf
+/etc/dbus-1/system.d/yum-updatesd.conf
+%attr(755,root,root) %{_sbindir}/yum-updatesd
+%attr(754,root,root) /etc/rc.d/init.d/yum-updatesd
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.35.2.6 2007-12-17 08:40:12 glen
+- more deps for yum-updatesd, separate package for yum-updatesd
+- yum-metadata-parser dep on base pkg
+
Revision 1.35.2.5 2007-12-17 08:21:01 glen
- merge update to 3.2.8 from HEAD
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/yum.spec?r1=1.35.2.5&r2=1.35.2.6&f=u
More information about the pld-cvs-commit
mailing list