forked from pool/quota
Accepting request 545046 from Base:System
OBS-URL: https://build.opensuse.org/request/show/545046 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quota?expand=0&rev=51
This commit is contained in:
commit
a594a61c68
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 13:41:35 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
- Replace references to /var/adm/fillup-templates with new
|
||||||
|
%_fillupdir macro (boo#1069468)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 4 10:51:57 UTC 2017 - tchvatal@suse.com
|
Mon Sep 4 10:51:57 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
11
quota.spec
11
quota.spec
@ -16,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
|
%if ! %{defined _fillupdir}
|
||||||
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: quota
|
Name: quota
|
||||||
Version: 4.03
|
Version: 4.03
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -91,8 +96,8 @@ ln -s service %{buildroot}%{_sbindir}/rcquotad
|
|||||||
install -d -m 755 %{buildroot}%{_unitdir}/../scripts/
|
install -d -m 755 %{buildroot}%{_unitdir}/../scripts/
|
||||||
install -m 755 %{SOURCE3} %{buildroot}%{_unitdir}/../scripts/quotad_env.sh
|
install -m 755 %{SOURCE3} %{buildroot}%{_unitdir}/../scripts/quotad_env.sh
|
||||||
|
|
||||||
install -d -m 755 %{buildroot}%{_localstatedir}/adm/fillup-templates
|
install -d -m 755 %{buildroot}%{_fillupdir}
|
||||||
cp %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.nfs-quota
|
cp %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.nfs-quota
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -141,7 +146,7 @@ cp %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.nfs-q
|
|||||||
%{_unitdir}/quotad.service
|
%{_unitdir}/quotad.service
|
||||||
%{_unitdir}/../scripts
|
%{_unitdir}/../scripts
|
||||||
%{_unitdir}/../scripts/quotad_env.sh
|
%{_unitdir}/../scripts/quotad_env.sh
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.nfs-quota
|
%{_fillupdir}/sysconfig.nfs-quota
|
||||||
# these files conflicts with glibc rpm
|
# these files conflicts with glibc rpm
|
||||||
%exclude %{_includedir}/rpcsvc/*
|
%exclude %{_includedir}/rpcsvc/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user