[packages/libvirt-sandbox] do not use dot in run-parts scanned dir

glen glen at pld-linux.org
Fri Oct 18 19:10:28 CEST 2013


commit 34a059834e56b17e6ca053432a5b555557ce0295
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Oct 18 20:10:24 2013 +0300

    do not use dot in run-parts scanned dir

 libvirt-sandbox.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libvirt-sandbox.spec b/libvirt-sandbox.spec
index 9ac54bd..7b40509 100644
--- a/libvirt-sandbox.spec
+++ b/libvirt-sandbox.spec
@@ -2,7 +2,7 @@ Summary:	API for building application sandboxes using libvirt
 Summary(pl.UTF-8):	API do tworzenia sandboksów aplikacyjnych przy użyciu libvirt
 Name:		libvirt-sandbox
 Version:	0.5.0
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	ftp://libvirt.org/libvirt/sandbox/%{name}-%{version}.tar.gz
@@ -92,10 +92,11 @@ Bashowe uzupełnianie parametrów dla polecenia virt-sandbox-service.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT/etc/cron.daily/virt-sandbox-service{.logrotate,}
+
 # obsoleted by pkg-config
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.la
 # just placeholder, useless in RPM
@@ -121,7 +122,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_sysconfdir}/libvirt-sandbox
 %dir %{_sysconfdir}/libvirt-sandbox/scratch
 %dir %{_sysconfdir}/libvirt-sandbox/services
-%config(noreplace) %verify(not md5 mtime size) /etc/cron.daily/virt-sandbox-service.logrotate
+%config(noreplace) %verify(not md5 mtime size) /etc/cron.daily/virt-sandbox-service
 %{_mandir}/man1/virt-sandbox.1*
 %{_mandir}/man1/virt-sandbox-service.1*
 %{_mandir}/man1/virt-sandbox-service-*.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt-sandbox.git/commitdiff/34a059834e56b17e6ca053432a5b555557ce0295



More information about the pld-cvs-commit mailing list