Hello community,

here is the log from the commit of package dnf-plugins-core for 
openSUSE:Factory checked in at 2018-01-22 16:18:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dnf-plugins-core (Old)
 and      /work/SRC/openSUSE:Factory/.dnf-plugins-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dnf-plugins-core"

Mon Jan 22 16:18:57 2018 rev:3 rq:567910 version:2.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/dnf-plugins-core/dnf-plugins-core.changes        
2017-10-11 23:02:03.435051939 +0200
+++ /work/SRC/openSUSE:Factory/.dnf-plugins-core.new/dnf-plugins-core.changes   
2018-01-22 16:20:46.307610310 +0100
@@ -1,0 +2,6 @@
+Sat Jan 20 14:12:56 UTC 2018 - [email protected]
+
+- Fix build-time detection of Python 2
+  * Add patch: dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch
+
+-------------------------------------------------------------------

New:
----
  dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dnf-plugins-core.spec ++++++
--- /var/tmp/diff_new_pack.nXqsVK/_old  2018-01-22 16:20:47.299563913 +0100
+++ /var/tmp/diff_new_pack.nXqsVK/_new  2018-01-22 16:20:47.303563726 +0100
@@ -1,7 +1,8 @@
 #
 # spec file for package dnf-plugins-core
 #
-# Copyright (c) 2017 Neal Gompa <[email protected]>.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 Neal Gompa <[email protected]>.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,6 +45,9 @@
 Url:            https://github.com/rpm-software-management/dnf-plugins-core
 Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
 
+# PATCH-FIX-OPENSUSE: Fix detection of Python 2
+Patch1000:      dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch 
+
 BuildArch:      noarch
 
 BuildRequires:  cmake

++++++ dnf-plugins-core-2.1.5-Fix-detection-of-Python-2.patch ++++++
>From 82dd350d4502329237c3918592a5b7354e936e7c Mon Sep 17 00:00:00 2001
From: Neal Gompa <[email protected]>
Date: Sat, 20 Jan 2018 09:06:21 -0500
Subject: [PATCH] Fix detection of Python 2

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index daa3143..d2e8b70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ if (NOT PYTHON_DESIRED)
 endif()
 
 if (${PYTHON_DESIRED} STREQUAL "2")
-       FIND_PACKAGE (PythonInterp REQUIRED)
+       FIND_PACKAGE (PythonInterp 2.7 REQUIRED)
 else()
        SET(Python_ADDITIONAL_VERSIONS 3.3)
        FIND_PACKAGE(PythonLibs 3.0)
-- 
2.12.3


Reply via email to