forked from pool/util-linux
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
This commit is contained in:
parent
50031106a1
commit
cb34d8ce38
@ -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
|
Fri Jan 10 13:08:45 UTC 2014 - werner@suse.de
|
||||||
|
|
||||||
|
@ -266,7 +266,10 @@ fi
|
|||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
export SUID_CFLAGS="-fpie"
|
export SUID_CFLAGS="-fpie"
|
||||||
export SUID_LDFLAGS="-pie"
|
export SUID_LDFLAGS="-pie"
|
||||||
|
# override default localstatedir to /run
|
||||||
|
# only used for volatile data
|
||||||
%configure \
|
%configure \
|
||||||
|
--localstatedir=/run \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--with-audit \
|
--with-audit \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
@ -330,7 +333,7 @@ fi
|
|||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}{%{_sysconfdir}/{init.d,pam.d,default},%{_mandir}/man{1,8},/bin,/sbin,%{_bindir},%{_sbindir},%{_infodir}}
|
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}/lib/libuuid/
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/run/uuidd/
|
mkdir -p %{buildroot}/run/uuidd/
|
||||||
install -m 744 %{SOURCE50} %{buildroot}%{_initddir}/uuidd
|
install -m 744 %{SOURCE50} %{buildroot}%{_initddir}/uuidd
|
||||||
install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
|
install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
|
||||||
install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login
|
install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login
|
||||||
@ -915,7 +918,7 @@ fi
|
|||||||
%verify(not mode) %attr(0755,root,root) %{_sbindir}/uuidd
|
%verify(not mode) %attr(0755,root,root) %{_sbindir}/uuidd
|
||||||
%attr(-,uuidd,uuidd) %dir %{_localstatedir}/lib/libuuid
|
%attr(-,uuidd,uuidd) %dir %{_localstatedir}/lib/libuuid
|
||||||
%ghost %{_localstatedir}/lib/libuuid/clock.txt
|
%ghost %{_localstatedir}/lib/libuuid/clock.txt
|
||||||
%attr(-,uuidd,uuidd) %ghost %dir %{_localstatedir}/run/uuidd
|
%attr(-,uuidd,uuidd) %ghost %dir /run/uuidd
|
||||||
%{_initddir}/uuidd
|
%{_initddir}/uuidd
|
||||||
%{_mandir}/man8/uuidd.8.gz
|
%{_mandir}/man8/uuidd.8.gz
|
||||||
%{_sbindir}/rcuuidd
|
%{_sbindir}/rcuuidd
|
||||||
|
Loading…
Reference in New Issue
Block a user