diff --git a/ddt-1.1.0.tar.gz b/ddt-1.1.0.tar.gz deleted file mode 100644 index 5010654..0000000 --- a/ddt-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ab0d77e5ecfae9a2b4244dd8079d8e248a69eae0260238516c260ac5e2bd007 -size 6155 diff --git a/ddt-1.1.1.tar.gz b/ddt-1.1.1.tar.gz new file mode 100644 index 0000000..4a7ca98 --- /dev/null +++ b/ddt-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6dc0fc0ec23c369090456ceaaf8baa43df8171a6906c44e52909edce78c00b0 +size 10021 diff --git a/python-ddt.changes b/python-ddt.changes index 4a44316..930e4be 100644 --- a/python-ddt.changes +++ b/python-ddt.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Aug 2 10:16:07 UTC 2017 - sebix+novell.com@sebix.at + +- update to 1.1.1 + * Add `@idata(iterable)` decorator-function. (#40) + * Set __wrapped__ for Python 2 (#45) + * Include more files in generated tarballs (#43) +- convert to singlespec + ------------------------------------------------------------------- Thu Sep 1 05:23:40 UTC 2016 - tbechtold@suse.com diff --git a/python-ddt.spec b/python-ddt.spec index 451f240..eafd617 100644 --- a/python-ddt.spec +++ b/python-ddt.spec @@ -1,7 +1,7 @@ # # spec file for package python-ddt # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,40 +16,45 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-ddt -Version: 1.1.0 +Version: 1.1.1 Release: 0 Summary: Data-Driven/Decorated Tests License: MIT Group: Development/Languages/Python Url: https://github.com/txels/ddt -Source: https://pypi.io/packages/source/d/ddt/ddt-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif +Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module nose} +# /SECTION + +%python_subpackages %description -A library to multiply test cases +A library to multiply test cases. %prep %setup -q -n ddt-%{version} %build -python setup.py build +%{python_build} %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%{python_install} %check -python setup.py test +%{python_exec setup.py test} -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/* +%doc *.md %changelog