From 3bdaf4150a050a3244aa32dffbbc5cb6a80b3393 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Apr 25 2016 11:31:18 +0000 Subject: use %python_provide macro only if present --- diff --git a/babel.spec b/babel.spec index 2f44c88..e7eab70 100644 --- a/babel.spec +++ b/babel.spec @@ -58,7 +58,7 @@ Summary: %sum Requires: python-setuptools Requires: pytz -%python_provide python2-babel +%{?python_provide:%python_provide python2-babel} %description -n python2-babel Babel is composed of two major parts: @@ -75,7 +75,7 @@ Summary: %sum Requires: python3-setuptools Requires: python3-pytz -%python_provide python3-babel +%{?python_provide:%python_provide python3-babel} %description -n python3-babel Babel is composed of two major parts: @@ -153,6 +153,7 @@ rm -f "$BUILDDIR/html/.buildinfo" - update to current Python packaging guidelines - build docs non-destructively - tag license file as %%license +- use %%python_provide macro only if present * Wed Feb 03 2016 Fedora Release Engineering - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild