diff --git a/gdcm.spec b/gdcm.spec index e27c849..7eb4ef8 100644 --- a/gdcm.spec +++ b/gdcm.spec @@ -6,7 +6,7 @@ Name: gdcm Version: 2.6.5 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Grassroots DiCoM is a C++ library to parse DICOM medical files Group: System Environment/Libraries License: BSD @@ -95,12 +95,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description examples GDCM examples -%package python +%package -n python2-gdcm +%{?python_provide:%python_provide python2-gdcm} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python binding for GDCM Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-gdcm You should install the gdcm-python package if you would like to used this library with python @@ -283,13 +287,17 @@ make test -C %{_target_platform} || exit 0 %files examples %{_datadir}/%{name}/Examples/ -%files python +%files -n python2-gdcm %{python2_sitearch}/* %files -n python3-gdcm %{python3_sitearch}/* %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.6.5-14 +- Python 2 binary package renamed to python2-gdcm + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Mon Aug 07 2017 Björn Esser - 2.6.5-13 - Rebuilt for AutoReq cmake-filesystem