Fix build.
This commit is contained in:
parent
77ac4539fe
commit
96ada82990
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user