[packages/file] - fix aclocal call (gl_VISIBILITY was undefined) - fix cc_version condition for gcc >=10 <30
qboosh
qboosh at pld-linux.org
Sun Jun 21 16:39:54 CEST 2020
commit a3f903c607f106dcac3325f12f9d50da76a2f00d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 21 16:41:01 2020 +0200
- fix aclocal call (gl_VISIBILITY was undefined)
- fix cc_version condition for gcc >=10 <30
file.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/file.spec b/file.spec
index 7aac272..9662a0e 100644
--- a/file.spec
+++ b/file.spec
@@ -274,7 +274,7 @@ Wiązania Pythona 3 do biblioteki libmagic.
%patch2 -p1
%patch4 -p1
-%if "%{cc_version}" < "3.4"
+%if "%(echo %{cc_version} | sed -e 's/^[0-9]\./0&/)" < "03.4"
%{__sed} -i -e 's,-Wextra,,' configure.ac
%endif
@@ -289,7 +289,7 @@ cp -a python py3
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoheader}
%{__autoconf}
%{__automake}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/a3f903c607f106dcac3325f12f9d50da76a2f00d
More information about the pld-cvs-commit
mailing list