spec: Fix building with new cmake macros

= changelog =
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1864042

Signed-off-by: Nicola Sella <nsella@redhat.com>
This commit is contained in:
Lukáš Hrázký 2020-08-06 14:32:35 +02:00 committed by Nicola Sella
parent 3fadd75c2b
commit db4b133524

View File

@ -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 <nsella@redhat.com> - 1.12.0-4
spec: Fix building with new cmake macros
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild