Python 2 binary package renamed to python2-capstone

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:08 -04:00
parent 014a2872d5
commit 76e47ad62b

View File

@ -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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 3.0.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild