Compare commits
1 Commits
c8s-stream
...
c10
| Author | SHA1 | Date | |
|---|---|---|---|
| baec91fcda |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/pyusb-1.0.0.zip
|
||||
pyusb-1.2.1.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
1cc42e901b580c7396830c74c87363a789e5c0cd SOURCES/pyusb-1.0.0.zip
|
||||
@ -1,18 +1,11 @@
|
||||
%if 0%{?rhel} > 7
|
||||
# Disable python2 build by default
|
||||
%bcond_with python2
|
||||
%else
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
Name: pyusb
|
||||
Version: 1.0.0
|
||||
Release: 9.1%{?dist}
|
||||
Version: 1.2.1
|
||||
Release: 11%{?dist}
|
||||
Summary: Python bindings for libusb
|
||||
License: BSD
|
||||
URL: http://pyusb.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.zip
|
||||
BuildRequires: libusb-devel
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/pyusb/pyusb/
|
||||
Source0: %{pypi_source}
|
||||
BuildRequires: libusb1
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description\
|
||||
@ -21,22 +14,13 @@ methods to support most USB operations.
|
||||
|
||||
%description %_description
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-pyusb
|
||||
Summary: %summary
|
||||
%{?python_provide:%python_provide python2-pyusb}
|
||||
BuildRequires: python2-devel
|
||||
# Remove before F30
|
||||
Provides: pyusb = %{version}-%{release}
|
||||
Obsoletes: pyusb < %{version}-%{release}
|
||||
|
||||
%description -n python2-pyusb %_description
|
||||
%endif # with python2
|
||||
|
||||
%package -n python3-pyusb
|
||||
Summary: %summary
|
||||
%{?python_provide:%python_provide python3-pyusb}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
Requires: libusb1
|
||||
|
||||
%description -n python3-pyusb
|
||||
PyUSB provides easy USB access to python. The module contains classes and
|
||||
@ -47,23 +31,14 @@ methods to support most USB operations.
|
||||
sed -i -e 's/\r//g' README.rst
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
%py2_build
|
||||
%endif # with python2
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%if %{with python2}
|
||||
%py2_install
|
||||
%endif # with python2
|
||||
%py3_install
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-pyusb
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/*
|
||||
%endif # with python2
|
||||
%check
|
||||
cd tests
|
||||
%{py3_test_envvars} %{python3} ./testall.py
|
||||
|
||||
%files -n python3-pyusb
|
||||
%license LICENSE
|
||||
@ -71,11 +46,87 @@ sed -i -e 's/\r//g' README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 16 2022 Florence Blanc-Renaud <frenaud@redhat.com> - 1.0.0-9.1
|
||||
- Rebuilt to fix the NVR issue (#2094880)
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.1-11
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.0.0-9
|
||||
- Conditionalize the python2 subpackage
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.1-10
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sun Jun 18 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.2.1-6
|
||||
- Update dependencies to libusb1
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.1-5
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.2.1-4
|
||||
- migrated to SPDX license
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Feb 07 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.2.1-1
|
||||
- 1.2.1
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.2-12
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.0.2-9
|
||||
- BR python3-setuptools
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-8
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Mon Oct 21 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.0.2-6
|
||||
- Drop Python 2.
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Sun Aug 18 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.2-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Aug 10 2018 Gwyn Ciesla <limburgher@gmail.com> - 1.0.2-1
|
||||
- 1.0.2
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-9
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
Loading…
Reference in New Issue
Block a user