From 76e47ad62bd5c8f8fe5f6257d7839ff17b0cbd4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:08 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-capstone --- capstone.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/capstone.spec b/capstone.spec index 5482c78..c4cae46 100644 --- a/capstone.spec +++ b/capstone.spec @@ -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 19 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