packages: yum-updatesd/yum-updatesd.spec - up to 0.9, fixed helper path

glen glen at pld-linux.org
Tue Feb 2 23:05:41 CET 2010


Author: glen                         Date: Tue Feb  2 22:05:41 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.9, fixed helper path

---- Files affected:
packages/yum-updatesd:
   yum-updatesd.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/yum-updatesd/yum-updatesd.spec
diff -u packages/yum-updatesd/yum-updatesd.spec:1.3 packages/yum-updatesd/yum-updatesd.spec:1.4
--- packages/yum-updatesd/yum-updatesd.spec:1.3	Mon Dec  7 15:59:43 2009
+++ packages/yum-updatesd/yum-updatesd.spec	Tue Feb  2 23:05:36 2010
@@ -2,17 +2,18 @@
 Summary:	RPM update notifier daemon
 Summary(pl.UTF-8):	Demon powiadamiający o uaktualnionych RPM-ach
 Name:		yum-updatesd
-Version:	0.5
-Release:	0.1
+Version:	0.9
+Release:	1
 Epoch:		1
 License:	GPL v2
 Group:		Networking/Daemons
-Source0:	http://yum.baseurl.org/download/yum-updatesd/%{name}-%{version}.tar.bz2
-# Source0-md5:	369b99f963dc9a4eb8fbb3c52bd0b8cd
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	b03a3b3bf78a11fec240c82bf2f53b2b
 URL:		http://linux.duke.edu/yum/
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 BuildRequires:	rpm-pythonprov
+BuildRequires:	sed >= 4.0
 Requires(post,preun):	/sbin/chkconfig
 Requires:	dbus
 Requires:	python-dbus
@@ -21,6 +22,8 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_libexecdir	%{_prefix}/lib
+
 %description
 This is a daemon which periodically checks for updates and can send
 notifications via mail, dbus or syslog.
@@ -32,18 +35,20 @@
 
 %prep
 %setup -q
+%{__sed} -i -e 's,/usr/libexec/,%{_libexecdir}/,' yum-updatesd
+%{__sed} -i -e 's,\$(PREFIX)/libexec,%{_libexecdir},' Makefile
 
 %build
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
+install -d $RPM_BUILD_ROOT/etc/sysconfig
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/yum-updatesd
-install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
+cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/yum-updatesd
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,7 +70,7 @@
 %attr(755,root,root) %{_sbindir}/yum-updatesd
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/yum-updatesd
 %attr(754,root,root) /etc/rc.d/init.d/yum-updatesd
-#%{_libexecdir}/yum-updatesd-helper
+%attr(755,root,root) %{_libexecdir}/yum-updatesd-helper
 %{_mandir}/man5/yum-updatesd.conf.5*
 %{_mandir}/man8/yum-updatesd.8*
 
@@ -75,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/02/02 22:05:36  glen
+- up to 0.9, fixed helper path
+
 Revision 1.3  2009/12/07 14:59:43  sparky
 - BR: rpm-pythonprov
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/yum-updatesd/yum-updatesd.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list