Accepting request 546258 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/546258 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/etcd?expand=0&rev=6
This commit is contained in:
parent
a02d8f95df
commit
189db2cfc9
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 13:48:13 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
- Replace references to /var/adm/fillup-templates with new
|
||||||
|
%_fillupdir macro (boo#1069468)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 30 10:49:23 UTC 2017 - vrothberg@suse.com
|
Wed Aug 30 10:49:23 UTC 2017 - vrothberg@suse.com
|
||||||
|
|
||||||
|
@ -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: etcd
|
Name: etcd
|
||||||
Version: 3.2.4
|
Version: 3.2.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -76,7 +81,7 @@ install -d %{buildroot}/%{_sbindir}
|
|||||||
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||||
|
|
||||||
# Sysconfig
|
# Sysconfig
|
||||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||||
|
|
||||||
# Additional
|
# Additional
|
||||||
install -d -m 750 %{buildroot}%{_localstatedir}/lib/%{name}
|
install -d -m 750 %{buildroot}%{_localstatedir}/lib/%{name}
|
||||||
@ -111,7 +116,7 @@ getent passwd %{name} >/dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_loca
|
|||||||
%{_sbindir}/rc%{name}
|
%{_sbindir}/rc%{name}
|
||||||
|
|
||||||
# Sysconfig
|
# Sysconfig
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
%{_fillupdir}/sysconfig.%{name}
|
||||||
|
|
||||||
# Additional
|
# Additional
|
||||||
%dir %attr(0750,%{name},%{name}) %{_localstatedir}/lib/%{name}
|
%dir %attr(0750,%{name},%{name}) %{_localstatedir}/lib/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user