From 0d2617e80cef37b8f1eda41955e177cfae9c099e94efb918fd412847bce5e3d0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 16 Feb 2022 23:36:14 +0000 Subject: [PATCH] - spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycups?expand=0&rev=17 --- python-pycups.changes | 5 +++++ python-pycups.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/python-pycups.changes b/python-pycups.changes index bff1942..c5f1573 100644 --- a/python-pycups.changes +++ b/python-pycups.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 16 23:36:06 UTC 2022 - Dirk Müller + +- spec-cleaner + ------------------------------------------------------------------- Tue Feb 23 11:54:47 UTC 2021 - Dirk Müller diff --git a/python-pycups.spec b/python-pycups.spec index 0f1e01b..54bd3ff 100644 --- a/python-pycups.spec +++ b/python-pycups.spec @@ -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,15 +24,14 @@ 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 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 +#!BuildIgnore: cups-rpm-helper 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