Accepting request 518798 from home:favogt:branches:Printing

- Default to Qt5 on SLE 15 as well to avoid Qt4 with dependency on
  openSSL 1.0

OBS-URL: https://build.opensuse.org/request/show/518798
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=145
This commit is contained in:
Tomáš Chvátal 2017-08-25 18:12:49 +00:00 committed by Git OBS Bridge
parent 227efbcc72
commit a29974f34b
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 25 17:29:47 UTC 2017 - fvogt@suse.com
- Default to Qt5 on SLE 15 as well to avoid Qt4 with dependency on
openSSL 1.0
-------------------------------------------------------------------
Tue Jul 11 13:29:58 UTC 2017 - mwilck@suse.com

View File

@ -32,8 +32,8 @@ BuildRequires: systemd-rpm-macros
# For SLE11 redefine _libexecdir because on SLE11 _libexecdir is "/usr/lib64":
%global _libexecdir %{_prefix}/lib
%endif
# Use Qt5 frontend on TW and Leap >= 42.2
%if 0%{?is_opensuse} && (0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200)
# Use Qt5 frontend on TW, Leap >= 42.2 and SLE >= 15
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120200 && 0%{?is_opensuse})
%global use_qt5 1
%else
%global use_qt5 0