Accepting request 836032 from GNOME:Factory

- Build with KDE on Tumbleweed, Leap and SLE releases greater than
  SLE-15-SP2 (jsc#SLE-12256). (forwarded request 834172 from yfjiang)

OBS-URL: https://build.opensuse.org/request/show/836032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libproxy?expand=0&rev=77
This commit is contained in:
Dominique Leuenberger 2020-09-25 14:24:51 +00:00 committed by Git OBS Bridge
commit 861fa4b6d0
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 14 02:58:52 UTC 2020 - Yifan Jiang <yfjiang@suse.com>
- Build with KDE on Tumbleweed, Leap and SLE releases greater than
SLE-15-SP2 (jsc#SLE-12256).
-------------------------------------------------------------------
Mon Apr 27 10:10:47 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -75,7 +75,7 @@ BuildRequires: python-devel
BuildRequires: pkgconfig(gio-2.0) >= 2.26
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(javascriptcoregtk-4.0)
%if 0%{?is_opensuse}
%if 0%{?sle_version} > 150200 || 0%{?is_opensuse}
BuildRequires: libKF5ConfigCore5
%endif
%if %{build_mozjs}
@ -313,7 +313,7 @@ cmake \
-DWITH_PYTHON2=OFF \
-DWITH_PYTHON3=OFF \
%endif
%if %build_core_not_modules || ! 0%{?is_opensuse}
%if %build_core_not_modules || (! 0%{?is_opensuse} && 0%{?sle_version} <= 150200)
-DWITH_KDE=OFF \
%endif
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
@ -389,7 +389,7 @@ make test
%else
%if ! 0%{?windows}
%if 0%{?is_opensuse}
%if 0%{?sle_version} > 150200 || 0%{?is_opensuse}
%files -n libproxy1-config-kde
%defattr(-, root, root)
%{_libdir}/libproxy-%{version}/modules/config_kde.so