From cb34d8ce38b77b0d221fb3283645b7260719ed0d72f34860f1b647490e8f8131 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 13 Jan 2014 16:28:29 +0000 Subject: [PATCH] Accepting request 213676 from home:fcrozat:branches:Base:System - Ensure localstatedir value used by configure is /run (changed to that value upstream since 2012). OBS-URL: https://build.opensuse.org/request/show/213676 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=203 --- util-linux.changes | 6 ++++++ util-linux.spec | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/util-linux.changes b/util-linux.changes index 19f0687..d1f4778 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 13 10:45:54 CET 2014 - fcrozat@suse.com + +- Ensure localstatedir value used by configure is /run (changed to that + value upstream since 2012). + ------------------------------------------------------------------- Fri Jan 10 13:08:45 UTC 2014 - werner@suse.de diff --git a/util-linux.spec b/util-linux.spec index 8faf5c7..9c8f185 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -266,7 +266,10 @@ fi autoreconf -fi export SUID_CFLAGS="-fpie" export SUID_LDFLAGS="-pie" +# override default localstatedir to /run +# only used for volatile data %configure \ + --localstatedir=/run \ --docdir=%{_docdir}/%{name} \ --with-audit \ --with-gnu-ld \ @@ -330,7 +333,7 @@ fi %install mkdir -p %{buildroot}{%{_sysconfdir}/{init.d,pam.d,default},%{_mandir}/man{1,8},/bin,/sbin,%{_bindir},%{_sbindir},%{_infodir}} mkdir -p %{buildroot}%{_localstatedir}/lib/libuuid/ -mkdir -p %{buildroot}%{_localstatedir}/run/uuidd/ +mkdir -p %{buildroot}/run/uuidd/ install -m 744 %{SOURCE50} %{buildroot}%{_initddir}/uuidd install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login @@ -915,7 +918,7 @@ fi %verify(not mode) %attr(0755,root,root) %{_sbindir}/uuidd %attr(-,uuidd,uuidd) %dir %{_localstatedir}/lib/libuuid %ghost %{_localstatedir}/lib/libuuid/clock.txt -%attr(-,uuidd,uuidd) %ghost %dir %{_localstatedir}/run/uuidd +%attr(-,uuidd,uuidd) %ghost %dir /run/uuidd %{_initddir}/uuidd %{_mandir}/man8/uuidd.8.gz %{_sbindir}/rcuuidd