From 0952a9b425284af1083c0940ab8de37c09c50b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hr=C3=A1zk=C3=BD?= Date: Thu, 6 Aug 2020 14:07:34 +0200 Subject: [PATCH] spec: Fix building with new cmake macros = changelog = resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1863433 Signed-off-by: Nicola Sella --- dnf-plugins-core.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index ca65bfd..7369b1e 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -6,6 +6,8 @@ %global yum_utils_subpackage_name yum-utils %endif +%define __cmake_in_source_build 1 + %if 0%{?rhel} && 0%{?rhel} <= 7 %bcond_with python3 %else @@ -32,7 +34,7 @@ Name: dnf-plugins-core Version: 4.0.16 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Core Plugins for DNF License: GPLv2+ URL: https://github.com/rpm-software-management/dnf-plugins-core @@ -742,6 +744,9 @@ PYTHONPATH=./plugins nosetests-%{python3_version} -s tests/ %endif %changelog +* Mon Aug 10 2020 Nicola Sella - 4.0.16-4 +- spec: Fix building with new cmake macros + * Sat Aug 01 2020 Fedora Release Engineering - 4.0.16-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild