11
0
forked from pool/python-py

Accepting request 613462 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/613462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py?expand=0&rev=28
This commit is contained in:
2018-06-05 10:49:41 +00:00
committed by Git OBS Bridge
parent d876528a0f
commit 220cb0a97d
6 changed files with 31 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-py
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -18,17 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-py
Version: 1.5.2
Version: 1.5.3
Release: 0
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT
Group: Development/Languages/Python
Url: https://pylib.readthedocs.io
Url: https://github.com/pytest-dev/py
Source: https://files.pythonhosted.org/packages/source/p/py/py-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -53,10 +53,12 @@ rm -rf py.egg-info
%install
%python_install
%python_exec %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog