- update to version 1.1.0 / 1.0.5:

* Include resources needed for tests and docs in source tarballs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=3
This commit is contained in:
Sebastian Wagner 2017-12-01 17:38:49 +00:00 committed by Git OBS Bridge
parent 06eda7a7de
commit 62130eee69
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 Sat Jul 22 10:23:42 UTC 2017 - sebix+novell.com@sebix.at

View File

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