[packages/systemd] - fix R(post,postun)

baggins baggins at pld-linux.org
Sat Feb 25 14:00:32 CET 2017


commit df9b2696089188575542771efef215c6d084787d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Feb 25 14:00:10 2017 +0100

    - fix R(post,postun)

 systemd.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index e87c4ce..043924e 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -26,7 +26,7 @@ Summary(pl.UTF-8):	systemd - zarządca systemu i usług dla Linuksa
 Name:		systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:	232
-Release:	0.1
+Release:	0.3
 Epoch:		1
 License:	GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:		Base
@@ -119,6 +119,7 @@ BuildRequires:	xz-devel
 BuildRequires:	zlib-devel
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 Requires:	%{name}-units = %{epoch}:%{version}-%{release}
+Requires(post,postun):	%{name}-units = %{epoch}:%{version}-%{release}
 Requires(postun):	/usr/sbin/groupdel
 Requires(postun):	/usr/sbin/userdel
 Requires(post):	/bin/setfacl
@@ -860,7 +861,7 @@ chmod g+s /var/log/journal
 # https://bugs.freedesktop.org/show_bug.cgi?id=89202
 /bin/getfacl -p /var/log/journal/$(cat /etc/machine-id) | grep -v '^#' | sort -u | /bin/setfacl -R --set-file=- /var/log/journal/$(cat /etc/machine-id) || :
 
-%post   libs -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
 
 %post units
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/df9b2696089188575542771efef215c6d084787d



More information about the pld-cvs-commit mailing list