3
0
forked from pool/util-linux

Accepting request 213763 from Base:System

- Ensure localstatedir value used by configure is /run (changed to that
  value upstream since 2012). (forwarded request 213676 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/213763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=175
This commit is contained in:
Stephan Kulow 2014-01-17 10:17:28 +00:00 committed by Git OBS Bridge
parent 5b6c15d996
commit 65c9b2b788
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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