|
|
|
@ -6,18 +6,17 @@
|
|
|
|
|
Summary: Python bindings for CUPS
|
|
|
|
|
Name: python-cups
|
|
|
|
|
Version: 2.0.1
|
|
|
|
|
Release: 23%{?dist}
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
# older URL, but still with useful information about pycups
|
|
|
|
|
#URL: http://cyberelk.net/tim/software/pycups/
|
|
|
|
|
URL: https://github.com/OpenPrinting/pycups/
|
|
|
|
|
Source: https://github.com/OpenPrinting/pycups/releases/download/v%{version}/pycups-%{version}.tar.gz
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
|
|
|
|
|
# all taken from upstream
|
|
|
|
|
Patch01: 0001-examples-cupstree.py-remove-shebang.patch
|
|
|
|
|
Patch02: 0001-postscriptdriver.prov-ignore-driverless-utilities.patch
|
|
|
|
|
Patch03: pycups-invalid-pointer.patch
|
|
|
|
|
Patch04: pycups-pyssizet_clean.patch
|
|
|
|
|
|
|
|
|
|
# gcc is no longer in buildroot by default
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
@ -28,9 +27,6 @@ BuildRequires: make
|
|
|
|
|
|
|
|
|
|
BuildRequires: cups-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
# distutils are removed from python3 project, use the one
|
|
|
|
|
# from setuptools
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package provides Python bindings for CUPS API,
|
|
|
|
@ -78,51 +74,12 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
|
|
|
|
%doc examples html
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.0.1-23
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.1-10
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.0.1-22
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 16 2023 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-19
|
|
|
|
|
- SPDX migration
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.1-17
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Oct 19 2022 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-15
|
|
|
|
|
- distutils will be removed in Python3.12, use setuptools instead
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.1-13
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 28 2021 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-10
|
|
|
|
|
- IPPRequest.writeIO() tracebacks because PY_SSIZE_T_CLEAN is not defined
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.1-9
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.1-9
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|