[packages/gawk] shut up check-files
glen
glen at pld-linux.org
Mon Aug 22 14:22:47 CEST 2016
commit bb3e12f1251e1eb5b039cdb8dc41a1f77a3d3a5b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Aug 22 15:11:54 2016 +0300
shut up check-files
gawk.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gawk.spec b/gawk.spec
index 7e51277..ae28c10 100644
--- 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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gawk.git/commitdiff/8c6320eb3a69435284d44f67ce7dec226221b7af
More information about the pld-cvs-commit
mailing list