Accepting request 955503 from devel:languages:python

- spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/955503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycups?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2022-02-18 22:02:36 +00:00 committed by Git OBS Bridge
commit 4aff4a3388
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 16 23:36:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
- spec-cleaner
-------------------------------------------------------------------
Tue Feb 23 11:54:47 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pycups
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%global skip_python2 1
Name: python-pycups
Version: 2.0.1
@ -24,7 +24,7 @@ Release: 0
Summary: Python Bindings for CUPS
License: GPL-2.0-or-later
Group: Development/Libraries/Python
URL: http://cyberelk.net/tim/software/pycups/
URL: https://github.com/OpenPrinting/pycups
Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: cups-devel
@ -32,7 +32,6 @@ 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
Obsoletes: python-cups < %{version}
Provides: python-cups = %{version}
%python_subpackages
@ -65,7 +64,6 @@ export CFLAGS="%{optflags}"
make install-rpmhook DESTDIR=%{buildroot}
%files %{python_files}
%defattr(-,root,root)
%doc NEWS README TODO
%license COPYING
%{python_sitearch}/cups*.so