17
0

Accepting request 459722 from KDE:Extra

- Add build-with-py36.diff: diff from upstream 50-python36 branch
  to enable building with Python 3.6

OBS-URL: https://build.opensuse.org/request/show/459722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdevelop5-plugin-python3?expand=0&rev=5
This commit is contained in:
2017-02-24 23:53:26 +00:00
committed by Git OBS Bridge
parent 3d470be794
commit b23990e5f5
3 changed files with 618 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package kdevelop5-plugin-python3
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,10 @@ License: GPL-2.0+
Group: Development/Tools/IDE
Url: http://www.kdevelop.org
Source0: %{rname}-%{version}.tar.xz
%if 0%{?suse_version} > 1320
#PATCH-FIX-UPSTREAM build-with-py36.diff - Add Python 3.6 support from the 50-python36 branch
Patch0: build-with-py36.diff
%endif
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: grantlee5-devel
@@ -79,6 +83,9 @@ Provides translations to the package %{name}
%prep
%setup -q -n %{rname}-%{version}
%if 0%{?suse_version} > 1320
%patch0 -p1
%endif
%build
%cmake_kf5 -d build