diff --git a/deprecation-1.0.1.tar.gz b/deprecation-1.0.1.tar.gz deleted file mode 100644 index 4e8678c..0000000 --- a/deprecation-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9bff5cc91f601ef2a8a0200bc6cde3f18a48c2ed3d1ecbfc16076b14b3ad935 -size 9596 diff --git a/deprecation-2.0.6.tar.gz b/deprecation-2.0.6.tar.gz new file mode 100644 index 0000000..48ee3bb --- /dev/null +++ b/deprecation-2.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68071e5ae7cd7e9da6c7dffd750922be4825c7c3a6780d29314076009cc39c35 +size 13381 diff --git a/python-deprecation.changes b/python-deprecation.changes index 814d7e0..28b45b3 100644 --- a/python-deprecation.changes +++ b/python-deprecation.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 7 14:11:32 UTC 2019 - Tomáš Chvátal + +- Update to 2.0.6: + * Use sphinx deprecated directive + * no upstream changelog +- Make sure to run tests + ------------------------------------------------------------------- Tue Dec 4 12:47:15 UTC 2018 - Matej Cepl diff --git a/python-deprecation.spec b/python-deprecation.spec index f1d7acd..59b9b82 100644 --- a/python-deprecation.spec +++ b/python-deprecation.spec @@ -1,7 +1,7 @@ # # spec file for package python-deprecation # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -17,16 +17,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-deprecation -Version: 1.0.1 +Version: 2.0.6 Release: 0 Summary: A library to handle automated deprecations License: Apache-2.0 Group: Development/Languages/Python -URL: http://deprecation.readthedocs.io/ +URL: https://github.com/briancurtin/deprecation Source: https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module unittest2} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -45,6 +46,10 @@ enable the automation of several things: %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test %files %{python_files} %license LICENSE