From a90199b416f10b71dbb5ae038085aa12bd242e49 Mon Sep 17 00:00:00 2001 From: sgrubb Date: Fri, 1 Jul 2016 15:07:08 -0400 Subject: [PATCH] Don't package makefiles --- audit.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/audit.spec b/audit.spec index 617c15c..4323b37 100644 --- a/audit.spec +++ b/audit.spec @@ -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