Accepting request 544691 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) OBS-URL: https://build.opensuse.org/request/show/544691 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=59
This commit is contained in:
parent
c1ada6e939
commit
7aa40e3a26
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:41:01 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 30 23:30:36 UTC 2017 - ddiss@suse.com
|
||||
|
||||
|
19
pcp.spec
19
pcp.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
|
||||
|
||||
BuildRequires: -post-build-checks
|
||||
|
||||
%if 0%{?suse_version} > 1140 || 0%{?fedora_version} > 14
|
||||
@ -2230,13 +2235,13 @@ ln -sf /sbin/service $RPM_BUILD_ROOT/%{_sbindir}/rcpmwebd
|
||||
%endif
|
||||
|
||||
# SUSE requires use of %fillup_and_insserv
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_fillupdir}
|
||||
mv $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/pmlogger \
|
||||
$RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.pmlogger
|
||||
$RPM_BUILD_ROOT/%{_fillupdir}/sysconfig.pmlogger
|
||||
mv $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/pmproxy \
|
||||
$RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.pmproxy
|
||||
$RPM_BUILD_ROOT/%{_fillupdir}/sysconfig.pmproxy
|
||||
mv $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/pmcd \
|
||||
$RPM_BUILD_ROOT/%{_localstatedir}/adm/fillup-templates/sysconfig.pmcd
|
||||
$RPM_BUILD_ROOT/%{_fillupdir}/sysconfig.pmcd
|
||||
|
||||
%else
|
||||
# default chkconfig off for Fedora and RHEL
|
||||
@ -2807,9 +2812,9 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger
|
||||
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmie
|
||||
%if 0%{?suse_version}
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.pmlogger
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.pmproxy
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.pmcd
|
||||
%{_fillupdir}/sysconfig.pmlogger
|
||||
%{_fillupdir}/sysconfig.pmproxy
|
||||
%{_fillupdir}/sysconfig.pmcd
|
||||
%else
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/pmlogger
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/pmproxy
|
||||
|
Loading…
Reference in New Issue
Block a user