Fix build.

This commit is contained in:
Ville Skyttä 2005-03-15 08:29:38 +00:00
parent 77ac4539fe
commit 96ada82990

View File

@ -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