Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:35:57 -04:00
parent 6f6613a16c
commit e294c33cda
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: libftdi
Version: 1.3
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Library to program and control the FTDI USB controller
Group: System Environment/Libraries
@ -35,6 +35,7 @@ Header files and static libraries for libftdi
%package -n python2-libftdi
%{?python_provide:%python_provide python2-libftdi}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Libftdi library Python binding
@ -146,6 +147,9 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/libftdi1/example.conf
%postun c++ -p /sbin/ldconfig
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3-9
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3-8
- Python 2 binary package renamed to python2-libftdi
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3