diff options
Diffstat (limited to 'dracut.spec')
-rw-r--r-- | dracut.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dracut.spec b/dracut.spec index 86c1db87..0f426119 100644 --- a/dracut.spec +++ b/dracut.spec @@ -192,6 +192,9 @@ rm $RPM_BUILD_ROOT/sbin/mkinitrd rm $RPM_BUILD_ROOT/sbin/lsinitrd %endif +mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d/dracut +install -m 0644 dracut.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/dracut + %clean rm -rf $RPM_BUILD_ROOT @@ -214,6 +217,7 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/dracut.conf.d/01-dist.conf %endif %dir /etc/dracut.conf.d +%config(noreplace) /etc/logrotate.d/dracut %{_mandir}/man8/dracut.8* %{_mandir}/man7/dracut.kernel.7* %{_mandir}/man5/dracut.conf.5* |