Don't package makefiles

This commit is contained in:
sgrubb 2016-07-01 15:07:08 -04:00
parent ed3ced7c7c
commit a90199b416

View File

@ -160,10 +160,12 @@ mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT%{_libdir}
touch -r ./audit.spec $RPM_BUILD_ROOT/etc/libaudit.conf
touch -r ./audit.spec $RPM_BUILD_ROOT/usr/share/man/man5/libaudit.conf.5.gz
%ifarch %{golang_arches}
%check
%ifarch %{golang_arches}
make check
%endif
# Get rid of make files so that they don't get packaged.
rm -f rules/Makefile*
%clean
rm -rf $RPM_BUILD_ROOT