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 2020-07-15 12:12:19 Comparing /work/SRC/openSUSE:Factory/python-pycups (Old) and /work/SRC/openSUSE:Factory/.python-pycups.new.3060 (New) Package is "python-pycups" Wed Jul 15 12:12:19 2020 rev:4 rq:820723 version:1.9.74 Changes: --- /work/SRC/openSUSE:Factory/python-pycups/python-pycups.changes 2019-09-02 12:39:59.829805160 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycups.new.3060/python-pycups.changes 2020-07-15 12:13:51.632710392 +0200 @@ -1,0 +2,6 @@ +Mon Jul 6 08:48:20 UTC 2020 - Ludwig Nussel + +- ignore build requirement of cups-rpm-helper to avoid cycle with cups-devel + (boo#1172407)) + +--- Other differences: -- ++ python-pycups.spec ++ --- /var/tmp/diff_new_pack.Fpfcu9/_old 2020-07-15 12:13:56.480715467 +0200 +++ /var/tmp/diff_new_pack.Fpfcu9/_new 2020-07-15 12:13:56.480715467 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pycups # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,12 +24,14 @@ Summary:Python Bindings for CUPS License:GPL-2.0-or-later Group: Development/Libraries/Python -Url:http://cyberelk.net/tim/software/pycups/ +URL:http://cyberelk.net/tim/software/pycups/ Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.bz2 BuildRequires: %{python_module devel} BuildRequires: cups-devel BuildRequires: fdupes BuildRequires: python-rpm-macros +# need to avoid cycle as cups-devel wants us (boo#1172407) +#!BuildIgnore: cups-rpm-helper BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifpython2 Obsoletes: %{oldpython}-cups < %{version} @@ -47,7 +49,7 @@ %package -n cups-rpm-helper Summary:RPM macros for building cups drivers Group: Development/Libraries/Python -Url: https://fedoraproject.org/wiki/Features/AutomaticPrintDriverInstallation +URL: https://fedoraproject.org/wiki/Features/AutomaticPrintDriverInstallation Requires: python3-cups Requires: rpm-build Supplements:(rpm-build and cups-devel)
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 + +- 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
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-05-16 21:59:54 Comparing /work/SRC/openSUSE:Factory/python-pycups (Old) and /work/SRC/openSUSE:Factory/.python-pycups.new.5148 (New) Package is "python-pycups" Thu May 16 21:59:54 2019 rev:2 rq:702986 version:1.9.74 Changes: --- /work/SRC/openSUSE:Factory/python-pycups/python-pycups.changes 2017-06-20 09:41:12.881136909 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycups.new.5148/python-pycups.changes 2019-05-16 21:59:56.218781532 +0200 @@ -1,0 +2,6 @@ +Tue May 14 20:43:51 UTC 2019 - svasude...@suse.com + +- Update to version 1.9.74 + * no changelog provided + +--- Old: pycups-1.9.73.tar.bz2 New: pycups-1.9.74.tar.bz2 Other differences: -- ++ python-pycups.spec ++ --- /var/tmp/diff_new_pack.6n2khL/_old 2019-05-16 21:59:57.642780724 +0200 +++ /var/tmp/diff_new_pack.6n2khL/_new 2019-05-16 21:59:57.654780718 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pycups # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-pycups -Version:1.9.73 +Version:1.9.74 Release:0 Summary:Python Bindings for CUPS License:GPL-2.0+ @@ -60,7 +60,8 @@ %files %{python_files} %defattr(-,root,root) -%doc COPYING NEWS README TODO +%doc NEWS README TODO +%license COPYING %{python_sitearch}/cups*.so %{python_sitearch}/pycups-%{version}-py*.egg-info ++ pycups-1.9.73.tar.bz2 -> pycups-1.9.74.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.73/Makefile new/pycups-1.9.74/Makefile --- old/pycups-1.9.73/Makefile 2014-10-06 18:41:24.0 +0200 +++ new/pycups-1.9.74/Makefile 2018-10-03 13:09:54.0 +0200 @@ -30,7 +30,7 @@ $(PYTHON) setup.py sdist $(SDIST_ARGS) upload: - $(PYTHON) setup.py sdist $(SDIST_ARGS) upload -s + $(PYTHON) setup.py sdist $(SDIST_ARGS) upload install: install-rpmhook ROOT= ; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.73/NEWS new/pycups-1.9.74/NEWS --- old/pycups-1.9.73/NEWS 2015-07-10 01:00:17.0 +0200 +++ new/pycups-1.9.74/NEWS 2018-04-06 13:23:41.0 +0200 @@ -1,6 +1,11 @@ NEWS +New in 1.9.74: +* fix Connection_writeRequestData with binary data (https://github.com/zdohnal/pycups/pull/1) +* misspelling (patch by Edward Betts) +* fixed print function in example/cupstree.py (patch by Jiri Popelka) + New in 1.9.73: * Fixed build for CUPS 1.6.3 by making several constants conditional diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.73/PKG-INFO new/pycups-1.9.74/PKG-INFO --- old/pycups-1.9.73/PKG-INFO 2015-07-10 01:21:44.0 +0200 +++ new/pycups-1.9.74/PKG-INFO 2018-10-03 13:16:41.0 +0200 @@ -1,12 +1,12 @@ Metadata-Version: 1.1 Name: pycups -Version: 1.9.73 +Version: 1.9.74 Summary: Python bindings for libcups -Home-page: http://cyberelk.net/tim/software/pycups/ -Author: Tim Waugh -Author-email: twa...@redhat.com +Home-page: https://github.com/zdohnal/pycups +Author: Zdenek Dohnal +Author-email: zdoh...@redhat.com License: GPLv2+ -Download-URL: http://cyberelk.net/tim/data/pycups/ +Download-URL: https://github.com/zdohnal/pycups/releases Description: This is a set of Python bindings for the libcups library from the CUPS project. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.73/cupsconnection.c new/pycups-1.9.74/cupsconnection.c --- old/pycups-1.9.73/cupsconnection.c 2015-03-27 10:54:33.0 +0100 +++ new/pycups-1.9.74/cupsconnection.c 2018-04-06 13:23:41.0 +0200 @@ -2061,7 +2061,8 @@ _obj, )) return NULL; - buffer = strdup(PyBytes_AsString (buffer_obj)); + buffer = (char *) malloc((size_t) length); + memcpy(buffer, PyBytes_AsString(buffer_obj), length); debugprintf ("-> Connection_writeRequestData(length=%d)\n", length); Connection_begin_allow_threads (self); @@ -5524,7 +5525,7 @@ "@type time_interval: integer\n" "@keyword time_interval: time interval\n" "@type user_data: string\n" -