commit python-pycups for openSUSE:Factory
Hello community, here is the log from the commit of package python-pycups for openSUSE:Factory checked in at 2019-09-02 12:39:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycups (Old) and /work/SRC/openSUSE:Factory/.python-pycups.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pycups" Mon Sep 2 12:39:56 2019 rev:3 rq:726856 version:1.9.74 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycups/python-pycups.changes 2019-05-16 21:59:56.218781532 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycups.new.7948/python-pycups.changes 2019-09-02 12:39:59.829805160 +0200 @@ -1,0 +2,10 @@ +Wed Aug 28 19:22:11 UTC 2019 - Martin Wilck <mwilck@suse.com> + +- Package /usr/lib/rpm/postscriptdriver.prov again, in the + new "cups-rpm-helper" subpackage (bsc#735865). The file hasn't + been packaged any more after the switch from python-cups to + python-pycups (sr#502741). + * removed revert-postscriptdriver.prov-py3.patch + (we use python3 now) + +------------------------------------------------------------------- Old: ---- revert-postscriptdriver.prov-py3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycups.spec ++++++ --- /var/tmp/diff_new_pack.nn6gZ8/_old 2019-09-02 12:40:00.737804997 +0200 +++ /var/tmp/diff_new_pack.nn6gZ8/_new 2019-09-02 12:40:00.741804996 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,12 +22,10 @@ Version: 1.9.74 Release: 0 Summary: Python Bindings for CUPS -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/Python Url: http://cyberelk.net/tim/software/pycups/ Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.bz2 -# PATCH-FIX-OPENSUSE revert-postscriptdriver.prov-py3.patch switch back to python2 -Patch0: revert-postscriptdriver.prov-py3.patch BuildRequires: %{python_module devel} BuildRequires: cups-devel BuildRequires: fdupes @@ -46,9 +44,20 @@ %description Python Bindings for CUPS, the Common Unix Printing System +%package -n cups-rpm-helper +Summary: RPM macros for building cups drivers +Group: Development/Libraries/Python +Url: https://fedoraproject.org/wiki/Features/AutomaticPrintDriverInstallation +Requires: python3-cups +Requires: rpm-build +Supplements: (rpm-build and cups-devel) + +%description -n cups-rpm-helper +RPM helper scripts to create automatic "Provides:" tags for printer +driver RPMs. + %prep %setup -q -n pycups-%{version} -%patch0 -p1 %build export CFLAGS="%{optflags}" @@ -57,6 +66,7 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +make install-rpmhook DESTDIR=%{buildroot} %files %{python_files} %defattr(-,root,root) @@ -65,4 +75,8 @@ %{python_sitearch}/cups*.so %{python_sitearch}/pycups-%{version}-py*.egg-info +%files -n cups-rpm-helper +%{_rpmconfigdir}/fileattrs/psdriver.attr +%{_rpmconfigdir}/postscriptdriver.prov + %changelog
participants (1)
-
root