diff --git a/python-whatthepatch.changes b/python-whatthepatch.changes index 582a660..8b2b261 100644 --- a/python-whatthepatch.changes +++ b/python-whatthepatch.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jul 21 13:05:20 UTC 2020 - Marketa Calabkova + +- update to 1.0.0 + * Issue #26 fix where hardcoded "/tmp" reference was being used + * Support up to Python 3.8 + * Drop support for Python 2, 3.4 + * Bump Code of Conduct to 2.0 + ------------------------------------------------------------------- Thu Aug 8 01:28:12 AM UTC 2019 - John Vandenberg diff --git a/python-whatthepatch.spec b/python-whatthepatch.spec index 183147a..b535f17 100644 --- a/python-whatthepatch.spec +++ b/python-whatthepatch.spec @@ -1,7 +1,7 @@ # # spec file for package python-whatthepatch # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,28 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-whatthepatch -Version: 0.0.6 +Version: 1.0.0 Release: 0 -License: MIT Summary: A patch parsing and application library -Url: https://github.com/cscorley/whatthepatch +License: MIT Group: Development/Languages/Python +URL: https://github.com/cscorley/whatthepatch Source: https://github.com/cscorley/whatthepatch/archive/%{version}.tar.gz#/whatthepatch-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module nose} BuildRequires: ed BuildRequires: fdupes BuildRequires: patch +BuildRequires: python-rpm-macros Requires: ed Requires: patch BuildArch: noarch - %python_subpackages %description @@ -50,7 +50,7 @@ A patch parsing and application library. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m nose --with-doctest --doctest-extension=rst +%python_exec -m unittest discover tests %files %{python_files} %doc README.rst diff --git a/whatthepatch-0.0.6.tar.gz b/whatthepatch-0.0.6.tar.gz deleted file mode 100644 index bb29862..0000000 --- a/whatthepatch-0.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:47939a94cb761783259646db8081d42df70684e79ded772f8113680690bf8540 -size 29259 diff --git a/whatthepatch-1.0.0.tar.gz b/whatthepatch-1.0.0.tar.gz new file mode 100644 index 0000000..8f7b736 --- /dev/null +++ b/whatthepatch-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0737f991fc80172b8b8dfa48de6f4d82b0c4758a5e1a62cc74d834b73c0c6e8e +size 32971