From f18b0a00a1cac3e80c82f0ad4cbd7c83fa6d30418d4068c8bcb07a54b7c07e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Jun 2019 11:36:44 +0000 Subject: [PATCH] Accepting request 707153 from home:pgajdos - note there are no upstream tests, run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/707153 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-petact?expand=0&rev=3 --- python-petact.changes | 5 +++++ python-petact.spec | 18 +++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/python-petact.changes b/python-petact.changes index c426c4f..e2a1c74 100644 --- a/python-petact.changes +++ b/python-petact.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 3 10:59:26 UTC 2019 - pgajdos@suse.com + +- note there are no upstream tests, run spec-cleaner + ------------------------------------------------------------------- Sun Jul 8 15:30:47 UTC 2018 - alarrosa@suse.com diff --git a/python-petact.spec b/python-petact.spec index e8f965e..62f7409 100644 --- a/python-petact.spec +++ b/python-petact.spec @@ -1,7 +1,7 @@ # # spec file for package python-petact # -# Copyright (c) 2018 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 @@ -12,24 +12,25 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-petact Version: 0.1.2 Release: 0 -License: MIT Summary: A python package extraction tool -Url: https://github.com/matthewscholefield/petact +License: MIT Group: Development/Languages/Python +URL: https://github.com/matthewscholefield/petact Source: https://files.pythonhosted.org/packages/source/p/petact/petact-%{version}.tar.gz Source99: https://raw.githubusercontent.com/MatthewScholefield/petact/master/LICENSE -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-setuptools BuildArch: noarch - %python_subpackages %description @@ -41,7 +42,7 @@ the same place. %prep %setup -q -n petact-%{version} -cp %{S:99} . +cp %{SOURCE99} . %build %python_build @@ -50,6 +51,9 @@ cp %{S:99} . %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# no upstream tests + %files %{python_files} %doc README.md %license LICENSE