diff --git gfal2-python/gfal2-python.spec gfal2-python/gfal2-python.spec.tmp index ce1781c81a..b64973b21a 100644 --- gfal2-python/gfal2-python.spec +++ gfal2-python/gfal2-python.spec.tmp @@ -35,7 +35,7 @@ Name: gfal2-python Version: 1.9.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for gfal 2 Group: Applications/Internet License: ASL 2.0 @@ -62,19 +62,29 @@ BuildRequires: boost-devel BuildRequires: python2-devel BuildRequires: epydoc -Requires: gfal2-core >= 2.13.0 - # Python 3 %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: boost-python3-devel %endif -%description -Python bindings for gfal2. -GFAL2 offers an a single, simple and portable API +%global _description\ +Python bindings for gfal2.\ +GFAL2 offers an a single, simple and portable API\ for the file operations in grids and cloud environments. +%description %_description + +%package -n python2-gfal2 +Summary: %summary +Requires: gfal2-core >= 2.13.0 +%{?python_provide:%python_provide python2-gfal2} +# Remove before F30 +Provides: gfal2-python%{?_isa} = %{version}-%{release} +Obsoletes: gfal2-python < %{version}-%{release} + +%description -n python2-gfal2 %_description + %package doc Summary: Documentation for %{name} Group: Applications/Internet @@ -146,7 +156,7 @@ make doc rm -rf %{buildroot} make DESTDIR=%{buildroot} install -%files +%files -n python2-gfal2 %defattr (-,root,root) %{python_sitearch}/gfal2.so %{_pkgdocdir}/LICENSE @@ -168,6 +178,10 @@ make DESTDIR=%{buildroot} install %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.9.3-4 +- Python 2 binary package renamed to python2-gfal2 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 1.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild