diff --git a/distro-1.0.4.tar.gz b/distro-1.0.4.tar.gz deleted file mode 100644 index 3d01a07..0000000 --- a/distro-1.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b000b0d637bb0cbd130a7a4835681e6993e309a85564dfea9d884825fe46954 -size 28772 diff --git a/distro-1.1.0.tar.gz b/distro-1.1.0.tar.gz new file mode 100644 index 0000000..1dba572 --- /dev/null +++ b/distro-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:722054925f339a39ca411a8c7079f390a41d42c422697bedf228f1a9c46ac1ee +size 45669 diff --git a/python-distro.changes b/python-distro.changes index ccb9594..6431fc0 100644 --- a/python-distro.changes +++ b/python-distro.changes @@ -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 diff --git a/python-distro.spec b/python-distro.spec index f8fe50a..b9fd75a 100644 --- a/python-distro.spec +++ b/python-distro.spec @@ -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}