use %python_provide macro only if present

This commit is contained in:
Nils Philippsen 2016-04-25 13:31:18 +02:00
parent 3d0dad5aa6
commit 3bdaf4150a

View File

@ -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 <releng@fedoraproject.org> - 1.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild