Add Provides for the old name without %_isa

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

View File

@ -1,6 +1,6 @@
Name: capstone
Version: 3.0.4
Release: 11%{?dist}
Release: 12%{?dist}
Summary: A lightweight multi-platform, multi-architecture disassembly framework
%global gituser aquynh
@ -45,6 +45,7 @@ developing applications that use %{name}.
%package -n python2-capstone
%{?python_provide:%python_provide python2-capstone}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for %{name}
@ -150,6 +151,9 @@ make check LD_LIBRARY_PATH="`pwd`"
%{_javadir}/
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.0.4-12
- Add Provides for the old name without %%_isa
* 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