diff --git a/rpmlint.spec b/rpmlint.spec index 6e8f72a..31cdb37 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -32,6 +32,7 @@ make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_datadir}/rpmlint/compile.pyo install -pm 644 rpmlint.bash-completion $RPM_BUILD_ROOT%{_datadir}/rpmlint install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d touch $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/rpmlint @@ -74,7 +75,6 @@ fi %{_bindir}/rpm* %dir %{_datadir}/rpmlint %{_datadir}/rpmlint/rpmlint.bash-completion -%exclude %{_datadir}/rpmlint/compile.pyo %dir %{_sysconfdir}/rpmlint %config(noreplace) %{_sysconfdir}/rpmlint/config %ghost %{_sysconfdir}/bash_completion.d/rpmlint