[packages/util-linux] - rel 2; provide compat symlink for runuser (upstream uses different location than our previous util

arekm arekm at pld-linux.org
Tue Jun 18 21:08:27 CEST 2013


commit 4e4fc9b54833dd2646c6ba989feb2738f10061cf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jun 18 21:08:23 2013 +0200

    - rel 2; provide compat symlink for runuser (upstream uses different location than our previous util-linux)

 util-linux.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/util-linux.spec b/util-linux.spec
index b3e8e92..0cf39ce 100644
--- a/util-linux.spec
+++ b/util-linux.spec
@@ -36,7 +36,7 @@ Summary(tr.UTF-8):	Temel sistem araçları
 Summary(uk.UTF-8):	Набір базових системних утиліт для Linux
 Name:		util-linux
 Version:	2.23.1
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/System
 Source0:	https://www.kernel.org/pub/linux/utils/util-linux/v2.23/%{name}-%{version}.tar.xz
@@ -781,6 +781,7 @@ install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/blockdev
 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/blockdev
 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/init/blockdev.conf
 %if %{with su}
+ln -s ../sbin/runuser  $RPM_BUILD_ROOT/bin/runuser
 cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/su
 cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/su-l
 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/runuser
@@ -1314,6 +1315,7 @@ fi
 %{_mandir}/man8/mkfs.cramfs.8*
 
 %if %{with su}
+%attr(755,root,root) /bin/runuser
 %attr(755,root,root) /sbin/runuser
 %attr(4755,root,root) /bin/su
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/util-linux.git/commitdiff/4e4fc9b54833dd2646c6ba989feb2738f10061cf



More information about the pld-cvs-commit mailing list