diff --git a/0001-Fix-encoding-when-reading-README.rst.patch b/0001-Fix-encoding-when-reading-README.rst.patch deleted file mode 100644 index 9c9676c..0000000 --- a/0001-Fix-encoding-when-reading-README.rst.patch +++ /dev/null @@ -1,31 +0,0 @@ -From b8043fb620271a229d91dff302079f19876d7838 Mon Sep 17 00:00:00 2001 -From: Thomas Bechtold -Date: Tue, 2 May 2017 16:28:57 +0200 -Subject: [PATCH] Fix encoding when reading README.rst - -Closes #5 ---- - setup.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index adaeea7..41d4097 100644 ---- a/setup.py -+++ b/setup.py -@@ -1,3 +1,4 @@ -+import io - from setuptools import setup - - AUTHOR = "Brian Curtin" -@@ -14,7 +15,7 @@ setup(name="deprecation", - maintainer=AUTHOR, - maintainer_email=EMAIL, - keywords=["deprecation"], -- long_description=open("README.rst").read(), -+ long_description=io.open("README.rst", encoding="utf-8").read(), - py_modules=["deprecation"], - classifiers=[ - "Development Status :: 5 - Production/Stable", --- -2.12.2 - diff --git a/deprecation-1.0.1.tar.gz b/deprecation-1.0.1.tar.gz new file mode 100644 index 0000000..4e8678c --- /dev/null +++ b/deprecation-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9bff5cc91f601ef2a8a0200bc6cde3f18a48c2ed3d1ecbfc16076b14b3ad935 +size 9596 diff --git a/deprecation-1.0.tar.gz b/deprecation-1.0.tar.gz deleted file mode 100644 index 36ba066..0000000 --- a/deprecation-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36d2a2356ca89fb73f72bfb866a2f28e183535a7f131a3b34036bc48590165b6 -size 5866 diff --git a/python-deprecation.changes b/python-deprecation.changes index cd7497a..56a0bae 100644 --- a/python-deprecation.changes +++ b/python-deprecation.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 2 15:47:16 UTC 2017 - tbechtold@suse.com + +- update to 1.0.1 +- remove 0001-Fix-encoding-when-reading-README.rst.patch . Applied + upstream. + ------------------------------------------------------------------- Tue May 2 14:13:34 UTC 2017 - tbechtold@suse.com diff --git a/python-deprecation.spec b/python-deprecation.spec index 7414586..1637030 100644 --- a/python-deprecation.spec +++ b/python-deprecation.spec @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-deprecation -Version: 1.0 +Version: 1.0.1 Release: 0 Summary: A library to handle automated deprecations License: Apache-2.0 Group: Development/Languages/Python Url: http://deprecation.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-%{version}.tar.gz -# PATCH-FIX-UPSTREAM 0001-Fix-encoding-when-reading-README.rst.patch -- https://github.com/briancurtin/deprecation/pull/6 -Patch1: 0001-Fix-encoding-when-reading-README.rst.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -43,7 +41,6 @@ enable the automation of several things: %prep %setup -q -n deprecation-%{version} -%patch1 -p1 %build @@ -54,7 +51,7 @@ enable the automation of several things: %files %{python_files} %defattr(-,root,root,-) -%doc README.rst +%doc README.rst LICENSE %{python_sitelib}/* %changelog