From 90d90eb11627b00bdc3331f48a36d67aebb66fdc Mon Sep 17 00:00:00 2001 From: Francisco Javier Tsao Santín Date: Jul 29 2019 22:48:30 +0000 Subject: RHBZ#1734137 fix python_provide macro in the right block of spec file --- diff --git a/barman.spec b/barman.spec index 6ad1ba4..afb6f2f 100644 --- a/barman.spec +++ b/barman.spec @@ -1,7 +1,7 @@ %{?python_enable_dependency_generator} Name: barman Version: 2.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Backup and Recovery Manager for PostgreSQL License: GPLv3 @@ -64,6 +64,8 @@ reduce risk and help DBAs during the recovery phase. Barman is distributed under GNU GPL 3 and maintained by 2ndQuadrant. + +%{?python_provide:%python_provide python3-%{srcname}} %prep %setup -q @@ -114,7 +116,6 @@ sed -i 's|/etc/barman.d|/etc/barman/conf.d|g' %{buildroot}%{_sysconfdir}/barman/ %doc %{_mandir}/man1/barman-wal-restore.1.gz %files -n python3-barman -%{?python_provide:%python_provide python3-%{srcname}} %defattr(-,root,root) %doc NEWS README.rst %{python3_sitelib}/%{name}-%{version}%{?extra_version:%{extra_version}}-py%{python3_version}.egg-info @@ -128,6 +129,9 @@ getent passwd barman >/dev/null || \ exit 0 %changelog +* Tue Jul 30 2019 Francisco Javier Tsao Santín - 2.8-6 +- RHBZ#1734137 fix python_provide macro in the right block of spec file + * Wed Jul 24 2019 Fedora Release Engineering - 2.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild