Python 2 binary package renamed to python2-pyusb
This commit is contained in:
parent
c4217669ed
commit
98a5e3700f
23
pyusb.spec
23
pyusb.spec
@ -7,7 +7,7 @@
|
||||
|
||||
Name: pyusb
|
||||
Version: 1.0.0
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Python bindings for libusb
|
||||
Group: Development/Languages
|
||||
License: BSD
|
||||
@ -20,10 +20,21 @@ BuildRequires: python3-devel
|
||||
BuildRequires: libusb-devel
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
PyUSB provides easy USB access to python. The module contains classes and
|
||||
%global _description\
|
||||
PyUSB provides easy USB access to python. The module contains classes and\
|
||||
methods to support most USB operations.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-pyusb
|
||||
Summary: %summary
|
||||
%{?python_provide:%python_provide python2-pyusb}
|
||||
# Remove before F30
|
||||
Provides: pyusb%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: pyusb < %{version}-%{release}
|
||||
|
||||
%description -n python2-pyusb %_description
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-pyusb
|
||||
Summary: Python 3 bindings for libusb
|
||||
@ -65,7 +76,7 @@ pushd %{py3dir}
|
||||
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%files -n python2-pyusb
|
||||
%doc README.rst LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
@ -76,6 +87,10 @@ pushd %{py3dir}
|
||||
%endif # with_python3
|
||||
|
||||
%changelog
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.0-6
|
||||
- Python 2 binary package renamed to python2-pyusb
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user