Commit 7511bba5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmcs: add _sysconfigdir, _logrotatedir support

parent 806dcaa3
...@@ -460,9 +460,15 @@ do ...@@ -460,9 +460,15 @@ do
s|%_sysconfdir/tmpfiles.d|%_tmpfilesdir|g s|%_sysconfdir/tmpfiles.d|%_tmpfilesdir|g
s|%_localstatedir/run|%_runtimedir|g s|%_localstatedir/run|%_runtimedir|g
s|/var/run|%_runtimedir|g s|/var/run|%_runtimedir|g
s|%_sysconfdir/logrotate.d|%_logrotatedir|g
s|%_sysconfdir/udev/rules.d|%_udevrulesdir|g s|%_sysconfdir/udev/rules.d|%_udevrulesdir|g
s|%__autoreconf|%autoreconf|g" $i s|%__autoreconf|%autoreconf|g" $i
if grep -q rpm-build-intro $i || grep -q rpm-macros-intro-conflicts $i ; then
subst "s|%_sysconfdir/sysconfig|%_sysconfigdir|g
s|||g" $i
fi
subst "s|%rpmcflags|%optflags|g" $i subst "s|%rpmcflags|%optflags|g" $i
# %license means License field in ALT rpm # %license means License field in ALT rpm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment