Accepting request 544744 from home:RBrownSUSE:branches:network:utilities
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) OBS-URL: https://build.opensuse.org/request/show/544744 OBS-URL: https://build.opensuse.org/package/show/network:utilities/memcached?expand=0&rev=42
This commit is contained in:
parent
45e769c5d2
commit
eb0e570028
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:46:21 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 1 13:54:33 UTC 2017 - tbechtold@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: memcached
|
||||
Version: 1.4.39
|
||||
Release: 0
|
||||
@ -97,7 +102,7 @@ make %{?_smp_mflags}
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
install -D -m 0755 scripts/memcached-tool %{buildroot}%{_sbindir}/memcached-tool
|
||||
install -Dd -m 0755 %{buildroot}%{_localstatedir}/lib/%{name}
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
%if 0%{?suse_version} > 1210
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service
|
||||
@ -148,7 +153,7 @@ ln -s ../..%{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
|
||||
%else
|
||||
%{_sysconfdir}/init.d/%{name}
|
||||
%endif
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
||||
%{_fillupdir}/sysconfig.%{name}
|
||||
%dir %attr(755,root,root) %{_localstatedir}/lib/%{name}
|
||||
|
||||
%files devel
|
||||
|
Loading…
Reference in New Issue
Block a user