From db4b133524f8abc70a518e22dd750dfb78cb2ab0 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:32:35 +0200 Subject: [PATCH] spec: Fix building with new cmake macros = changelog = resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1864042 Signed-off-by: Nicola Sella --- librepo.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/librepo.spec b/librepo.spec index 899f5cc..674def7 100644 --- a/librepo.spec +++ b/librepo.spec @@ -1,5 +1,7 @@ %global libcurl_version 7.28.0 +%define __cmake_in_source_build 1 + %if 0%{?rhel} && 0%{?rhel} <= 7 # Do not build bindings for python3 for RHEL <= 7 %bcond_with python3 @@ -27,7 +29,7 @@ Name: librepo Version: 1.12.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Repodata downloading library License: LGPLv2+ @@ -190,6 +192,9 @@ popd %endif %changelog +* Fri Aug 07 2020 Nicola Sella - 1.12.0-4 +spec: Fix building with new cmake macros + * Sat Aug 01 2020 Fedora Release Engineering - 1.12.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild