shut up check-files
authorElan Ruusamäe <glen@delfi.ee>
Mon, 22 Aug 2016 12:11:54 +0000 (15:11 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 22 Aug 2016 12:11:54 +0000 (15:11 +0300)
gawk.spec

index 7e51277..ae28c10 100644 (file)
--- a/gawk.spec
+++ b/gawk.spec
@@ -143,12 +143,14 @@ Ten pakiet zawiera pliki nagłówkowe dla gawka.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# mawk provides system wide 'awk'
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/awk
+
 install -d $RPM_BUILD_ROOT%{_includedir}
-install *.h $RPM_BUILD_ROOT%{_includedir}
+cp -p *.h $RPM_BUILD_ROOT%{_includedir}
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
This page took 0.078828 seconds and 4 git commands to generate.