add condition for rhel
This commit is contained in:
parent
e467920f91
commit
ca7cfd8532
@ -65,7 +65,7 @@ BuildRequires: pkgconfig(libsystemd)
|
|||||||
Name: qt5-qtbase
|
Name: qt5-qtbase
|
||||||
Summary: Qt5 - QtBase components
|
Summary: Qt5 - QtBase components
|
||||||
Version: 5.7.1
|
Version: 5.7.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, for exception details
|
# See LGPL_EXCEPTIONS.txt, for exception details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
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 CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS"
|
||||||
export LDFLAGS="$LDFLAGS $RPM_LD_FLAGS"
|
export LDFLAGS="$LDFLAGS $RPM_LD_FLAGS"
|
||||||
export MAKEFLAGS="%{?_smp_mflags}"
|
export MAKEFLAGS="%{?_smp_mflags}"
|
||||||
|
%if 0%{?openssl11}
|
||||||
export OPENSSL_LIBS="-lssl -lcrypto"
|
export OPENSSL_LIBS="-lssl -lcrypto"
|
||||||
|
%endif
|
||||||
|
|
||||||
./configure -v \
|
./configure -v \
|
||||||
-confirm-license \
|
-confirm-license \
|
||||||
@ -946,6 +948,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 28 2016 Than Ngo <than@redhat.com> - 5.7.1-3
|
||||||
|
- add condition for rhel
|
||||||
|
|
||||||
* Thu Nov 24 2016 Than Ngo <than@redhat.com> - 5.7.1-2
|
* Thu Nov 24 2016 Than Ngo <than@redhat.com> - 5.7.1-2
|
||||||
- adapted the berolinux's patch for new openssl-1.1.x
|
- adapted the berolinux's patch for new openssl-1.1.x
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user