Accepting request 555306 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/555306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distro?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-12-11 17:56:25 +00:00 committed by Git OBS Bridge
commit f5618015c5
4 changed files with 17 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b000b0d637bb0cbd130a7a4835681e6993e309a85564dfea9d884825fe46954
size 28772

3
distro-1.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:722054925f339a39ca411a8c7079f390a41d42c422697bedf228f1a9c46ac1ee
size 45669

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 1 17:14:55 UTC 2017 - sebix+novell.com@sebix.at
- update to version 1.1.0 / 1.0.5:
* Include resources needed for tests and docs in source tarballs
-------------------------------------------------------------------
Sat Jul 22 10:23:42 UTC 2017 - sebix+novell.com@sebix.at

View File

@ -19,7 +19,7 @@
%{!?license: %global license %doc}
%bcond_without test
Name: python-distro
Version: 1.0.4
Version: 1.1.0
Release: 0
License: Apache-2.0
Summary: Linux Distribution - a Linux OS platform information API
@ -29,7 +29,11 @@ Source: https://files.pythonhosted.org/packages/source/d/distro/distro-%
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# SECTION test
%if %{with test}
BuildRequires: %{python_module pytest}
%endif
# /SECTION
BuildArch: noarch
%python_subpackages
@ -49,9 +53,8 @@ It is a renewed alternative implementation for Python's original platform.linux_
%python_install
%if %{with test}
# incomplete source tarball see https://github.com/nir0s/distro/pull/189
#%%check
#%%python_exec setup.py test
%check
%python_exec setup.py test
%endif
%files %{python_files}