From 0f4c4de937bed61c3780501c20dcfcd3c34c2946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Sun, 10 Jan 2016 18:42:45 +0100 Subject: [PATCH] - fix build on non-Fedora with python3 --- libsolv.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libsolv.spec b/libsolv.spec index 0af8cda..82cafbc 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -30,7 +30,7 @@ Name: libsolv Version: 0.6.15 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD Url: https://github.com/openSUSE/libsolv Source: https://github.com/openSUSE/libsolv/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -147,7 +147,7 @@ make %{?_smp_mflags} %if %{with python3} pushd %{py3dir}/ - %cmake %_cmake_opts \ + %cmake %_cmake_opts -DENABLE_PYTHON=1 \ -DPythonLibs_FIND_VERSION=3 -DPythonLibs_FIND_VERSION_MAJOR=3 \ -DENABLE_BZIP2_COMPRESSION=1 make %{?_smp_mflags} @@ -226,6 +226,9 @@ make ARGS="-V" test %endif %changelog +* Sun Jan 10 2016 Dan HorĂ¡k - 0.6.15-4 +- fix build on non-Fedora with python3 + * Tue Jan 05 2016 Jaroslav Mracek - 0.6.15-3 - Fix bz2 compression support for python3 (RhBug:1293652)