diff --git gpaw/gpaw.spec gpaw/gpaw.spec.tmp index fe71d0b268..a122dafb63 100644 --- gpaw/gpaw.spec +++ gpaw/gpaw.spec.tmp @@ -17,7 +17,7 @@ ExcludeArch: ppc64 Name: gpaw Version: 1.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A grid-based real-space PAW method DFT code License: GPLv3+ @@ -54,11 +54,6 @@ BuildRequires: scipy BuildRequires: %{name}-setups -Requires: python-ase - -Requires: %{name}-common = %{version}-%{release} -Requires: tar - %global desc_base \ GPAW is a density-functional theory (DFT) Python code based\ @@ -66,9 +61,23 @@ on the projector-augmented wave (PAW) method and the\ atomic simulation environment (ASE). It uses real-space uniform grids and\ multigrid methods or atom-centered basis-functions. -%description +%global _description\ %{desc_base} +%description %_description + +%package -n python2-%{name} +Summary: %summary +Requires: python-ase +Requires: %{name}-common = %{version}-%{release} +Requires: tar +%{?python_provide:%python_provide python2-%{name}} +# Remove before F30 +Provides: gpaw%{?_isa} = %{version}-%{release} +Obsoletes: gpaw < %{version}-%{release} + +%description -n python2-%{name} %_description + %package openmpi Summary: %{name} - openmpi version BuildRequires: openssh-clients @@ -371,7 +380,7 @@ popd %{_mpich_unload} -%files +%files -n python2-%{name} %{_bindir}/%{name}* %{python_sitearch}/_%{name}*.so %{python_sitearch}/%{name} @@ -415,6 +424,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2.0-4 +- Python 2 binary package renamed to python2-gpaw + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild