diff --git getdata/getdata.spec getdata/getdata.spec.tmp index 93fc334ceb..40d1dc310b 100644 --- getdata/getdata.spec +++ getdata/getdata.spec.tmp @@ -2,7 +2,7 @@ Name: getdata Version: 0.10.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library for reading and writing dirfile data Group: Development/Libraries @@ -45,13 +45,17 @@ Requires: %{name} = %{version}-%{release} %description fortran The GetData library for fortran programs. -%package python +%package -n python2-getdata +%{?python_provide:%python_provide python2-getdata} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Group: Development/Libraries Summary: getdata bindings for the python language Requires: %{name} = %{version}-%{release} Requires: numpy -%description python +%description -n python2-getdata Bindings to the getdata library for the python lanuguage. Uses (and requires) the numpy python library for large numeric arrays. @@ -141,7 +145,7 @@ rm -f %{buildroot}/%{python2_sitearch}/pygetdata.h %{_mandir}/man5/* %{_mandir}/man1/* -%files python +%files -n python2-getdata %{python_sitearch}/*.so %files fortran @@ -174,6 +178,10 @@ rm -f %{buildroot}/%{python2_sitearch}/pygetdata.h %{_libdir}/getdata/libgetdatalzma*.so %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.10.0-4 +- Python 2 binary package renamed to python2-getdata + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild