rpm .spec: remove superfluous path separator (#176)
Upstream-commit: c168510e78d092eb057437b8b161ba82c850dc02 Signed-off-by: Kamil Dudka <kdudka@redhat.com>
This commit is contained in:
parent
2246d2ef97
commit
d9815b32cf
@ -62,15 +62,15 @@ make %{?_smp_mflags} -C build check
|
||||
%install
|
||||
%make_install -C build
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/logrotate
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/logrotate
|
||||
|
||||
install -p -m 644 examples/logrotate-default $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.conf
|
||||
install -p -m 755 examples/logrotate.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/logrotate
|
||||
install -p -m 644 examples/logrotate-default $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.conf
|
||||
install -p -m 755 examples/logrotate.cron $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/logrotate
|
||||
|
||||
# Make sure logrotate is able to run on read-only root
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rwtab.d
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d
|
||||
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/logrotate
|
||||
|
||||
%pre
|
||||
|
Loading…
Reference in New Issue
Block a user