15
0
forked from pool/python-petact

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
This commit is contained in:
Tomáš Chvátal
2019-06-03 11:36:44 +00:00
committed by Git OBS Bridge
parent 3701df9259
commit 4b211bd3b2
2 changed files with 16 additions and 7 deletions

View File

@@ -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

View File

@@ -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