diff --git capstone/capstone.spec capstone/capstone.spec.tmp index 5482c78510..3884708971 100644 --- capstone/capstone.spec +++ capstone/capstone.spec.tmp @@ -1,6 +1,6 @@ Name: capstone Version: 3.0.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A lightweight multi-platform, multi-architecture disassembly framework %global gituser aquynh @@ -42,11 +42,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package python +%package -n python2-capstone +%{?python_provide:%python_provide python2-capstone} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -%description python +%description -n python2-capstone The %{name}-python package contains python bindings for %{name}. %if 0%{?with_python3} @@ -132,7 +136,7 @@ make check LD_LIBRARY_PATH="`pwd`" %{_libdir}/*.so %{_libdir}/pkgconfig/* -%files python +%files -n python2-capstone %{python2_sitelib}/*egg-info %{python2_sitelib}/%{name} @@ -146,6 +150,10 @@ make check LD_LIBRARY_PATH="`pwd`" %{_javadir}/ %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.0.4-11 +- Python 2 binary package renamed to python2-capstone + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 3.0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild