Accepting request 820723 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/820723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycups?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-07-15 10:12:19 +00:00 committed by Git OBS Bridge
commit ed23d2dc32
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 6 08:48:20 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- ignore build requirement of cups-rpm-helper to avoid cycle with cups-devel
(boo#1172407))
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 28 19:22:11 UTC 2019 - Martin Wilck <mwilck@suse.com> Wed Aug 28 19:22:11 UTC 2019 - Martin Wilck <mwilck@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pycups # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,12 +24,14 @@ Release: 0
Summary: Python Bindings for CUPS Summary: Python Bindings for CUPS
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Libraries/Python 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 Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.bz2
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: cups-devel BuildRequires: cups-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# need to avoid cycle as cups-devel wants us (boo#1172407)
#!BuildIgnore: cups-rpm-helper
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifpython2 %ifpython2
Obsoletes: %{oldpython}-cups < %{version} Obsoletes: %{oldpython}-cups < %{version}
@ -47,7 +49,7 @@ Python Bindings for CUPS, the Common Unix Printing System
%package -n cups-rpm-helper %package -n cups-rpm-helper
Summary: RPM macros for building cups drivers Summary: RPM macros for building cups drivers
Group: Development/Libraries/Python Group: Development/Libraries/Python
Url: https://fedoraproject.org/wiki/Features/AutomaticPrintDriverInstallation URL: https://fedoraproject.org/wiki/Features/AutomaticPrintDriverInstallation
Requires: python3-cups Requires: python3-cups
Requires: rpm-build Requires: rpm-build
Supplements: (rpm-build and cups-devel) Supplements: (rpm-build and cups-devel)