Python 2 binary package renamed to python2-libftdi

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:34 -04:00
parent b1a2eeb26f
commit 6f6613a16c

View File

@ -1,6 +1,6 @@
Name: libftdi
Version: 1.3
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Library to program and control the FTDI USB controller
Group: System Environment/Libraries
@ -32,12 +32,16 @@ Requires: pkgconfig
%description devel
Header files and static libraries for libftdi
%package python
%package -n python2-libftdi
%{?python_provide:%python_provide python2-libftdi}
# Remove before F30
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Libftdi library Python binding
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description python
%description -n python2-libftdi
Libftdi Python Language bindings.
%package c++
@ -124,7 +128,7 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/libftdi1/example.conf
%{_libdir}/pkgconfig/libftdi1.pc
%{_mandir}/man3/*
%files python
%files -n python2-libftdi
%{python2_sitearch}/*
%files c++
@ -142,6 +146,10 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/libftdi1/example.conf
%postun c++ -p /sbin/ldconfig
%changelog
* 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
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild