X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=codemux.spec;h=acc911a208e729089e5f08a331be5da1569de588;hb=7200cd756217a4952de259d50d8aa60f9ac18785;hp=f889fcb0e2991274e332c94bd1ecea9f963593f1;hpb=1607ccd6b469b94f68edc8205332b33a2ff3f9e2;p=codemux.git diff --git a/codemux.spec b/codemux.spec index f889fcb..acc911a 100644 --- a/codemux.spec +++ b/codemux.spec @@ -5,7 +5,7 @@ %define name codemux %define version 0.1 -%define taglevel 8 +%define taglevel 10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -37,10 +37,9 @@ make clean make RPM_VERSION=%{version}.%{taglevel} %install -install -D -m 644 codemux.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/codemux rm -rf $RPM_BUILD_ROOT - make INSTALL_ROOT=$RPM_BUILD_ROOT install +install -D -m 644 codemux.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/codemux %clean rm -rf $RPM_BUILD_ROOT @@ -50,6 +49,7 @@ rm -rf $RPM_BUILD_ROOT %attr(0755,root,root) %{_initrddir}/codemux %config /etc/codemux/codemux.conf %attr(0755,root,root) /usr/sbin/codemux +%{_sysconfdir}/logrotate.d/codemux %post chkconfig codemux reset