From ca7cfd853269b3921d2f62a21024391e0359ed7d Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 28 Nov 2016 16:38:56 +0100 Subject: [PATCH] add condition for rhel --- qt5-qtbase.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index 4bc824d..d473026 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -65,7 +65,7 @@ BuildRequires: pkgconfig(libsystemd) Name: qt5-qtbase Summary: Qt5 - QtBase components Version: 5.7.1 -Release: 2%{?dist} +Release: 3%{?dist} # See LGPL_EXCEPTIONS.txt, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -409,7 +409,9 @@ export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS" export LDFLAGS="$LDFLAGS $RPM_LD_FLAGS" export MAKEFLAGS="%{?_smp_mflags}" +%if 0%{?openssl11} export OPENSSL_LIBS="-lssl -lcrypto" +%endif ./configure -v \ -confirm-license \ @@ -946,6 +948,9 @@ fi %changelog +* Mon Nov 28 2016 Than Ngo - 5.7.1-3 +- add condition for rhel + * Thu Nov 24 2016 Than Ngo - 5.7.1-2 - adapted the berolinux's patch for new openssl-1.1.x