From 03cf9132d6dfebdd0264ea84e03e6647bacd1ef62141d32f21db55a34e258374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 7 Mar 2019 14:13:32 +0000 Subject: [PATCH] - Update to 2.0.6: * Use sphinx deprecated directive * no upstream changelog - Make sure to run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-deprecation?expand=0&rev=7 --- deprecation-1.0.1.tar.gz | 3 --- deprecation-2.0.6.tar.gz | 3 +++ python-deprecation.changes | 8 ++++++++ python-deprecation.spec | 13 +++++++++---- 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 deprecation-1.0.1.tar.gz create mode 100644 deprecation-2.0.6.tar.gz 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