[packages/qt5-qtbase] - rel 2; apply renameat2 patch only when building with glibc >= 2.28

arekm arekm at pld-linux.org
Mon Aug 6 00:03:16 CEST 2018


commit 9a93434996f190d78e8e8f375ae7faea81e552de
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Aug 6 00:03:10 2018 +0200

    - rel 2; apply renameat2 patch only when building with glibc >= 2.28

 qt5-qtbase.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index b2f45c9..4add315 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -63,7 +63,7 @@ Summary:	Qt5 - base components
 Summary(pl.UTF-8):	Biblioteka Qt5 - podstawowe komponenty
 Name:		qt5-%{orgname}
 Version:	5.11.1
-Release:	1
+Release:	2
 # See LGPL_EXCEPTION.txt for exception details
 License:	LGPL v2 with Digia Qt LGPL Exception v1.1 or GPL v3
 Group:		X11/Libraries
@@ -1111,7 +1111,9 @@ Generator plików makefile dla aplikacji Qt5.
 %prep
 %setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1}
 %patch0 -p1
+%if "%(rpm -q glibc-devel --qf '%{VERSION}')" >= 2.28
 %patch1 -p1
+%endif
 
 %{__sed} -i -e 's,usr/X11R6/,usr/,g' mkspecs/linux-g++-64/qmake.conf
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtbase.git/commitdiff/9a93434996f190d78e8e8f375ae7faea81e552de



More information about the pld-cvs-commit mailing list