diff --git cryptsetup/cryptsetup.spec cryptsetup/cryptsetup.spec.tmp index ee918917cb..b81a5b69b3 100644 --- cryptsetup/cryptsetup.spec +++ cryptsetup/cryptsetup.spec.tmp @@ -3,7 +3,7 @@ Summary: A utility for setting up encrypted disks Name: cryptsetup Version: 1.7.5 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ and LGPLv2+ Group: Applications/System URL: https://gitlab.com/cryptsetup/cryptsetup @@ -65,14 +65,17 @@ Requires: cryptsetup-libs = %{version}-%{release} This package contains cryptsetup-reencrypt utility which can be used for offline reencryption of disk in situ. -%package python +%package -n python2-cryptsetup Group: System Environment/Libraries Summary: Python bindings for libcryptsetup Requires: %{name}-libs = %{version}-%{release} -Provides: python-cryptsetup = %{version}-%{release} +%{?python_provide:%python_provide python2-cryptsetup} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Obsoletes: python-cryptsetup < 1.4.0 -%description python +%description -n python2-cryptsetup This package provides Python bindings for libcryptsetup, a library for setting up disk encryption using dm-crypt kernel module. @@ -151,7 +154,7 @@ popd %license COPYING COPYING.LGPL %{_libdir}/libcryptsetup.so.* -%files python +%files -n python2-cryptsetup %{!?_licensedir:%global license %%doc} %license COPYING.LGPL %doc python/pycryptsetup-test.py @@ -168,6 +171,10 @@ popd %clean %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.7.5-4 +- Python 2 binary package renamed to python2-cryptsetup + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 1.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild