diff --git a/.gitignore b/.gitignore index 7f63247..6696759 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /python-future-0.16.0.tar.gz /python-future-af02ef69e8a659c49da96243befc4a6b8c19a177.tar.gz /python-future-bee0f3bcb8ba9e7bd131d64e3bf631f5bd06c5b4.tar.gz +/python-future-0.17.0.tar.gz diff --git a/future.spec b/future.spec index 8b42046..594979a 100644 --- a/future.spec +++ b/future.spec @@ -22,17 +22,13 @@ %global with_python2 1 %endif -%global commit bee0f3bcb8ba9e7bd131d64e3bf631f5bd06c5b4 -%global date 20181019 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: future Summary: Easy, clean, reliable Python 2/3 compatibility Version: 0.17.0 -Release: 0.1.%{date}git%{shortcommit}%{?dist} +Release: 1%{?dist} License: MIT URL: http://python-future.org/ -Source0: https://github.com/PythonCharmers/python-future/archive/%{commit}/python-%{name}-%{commit}.tar.gz +Source0: https://github.com/PythonCharmers/python-future/archive/v%{version}/python-%{name}-%{version}.tar.gz BuildArch: noarch ##https://github.com/PythonCharmers/python-future/issues/165 @@ -129,22 +125,22 @@ clean Py3-style codebase, module by module. %prep %setup -qc -pushd python-future-%{commit} +pushd python-future-%{version} %patch0 -p0 popd %if 0%{?with_python2} -cp -a python-future-%{commit} python2 +cp -a python-future-%{version} python2 find python2 -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|' %endif %if 0%{?with_python3} -cp -a python-future-%{commit} python3 +cp -a python-future-%{version} python3 find python3 -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %endif # with_python3 %if 0%{?with_python3_other} -cp -a python-future-%{commit} python%{python3_other_pkgversion} +cp -a python-future-%{version} python%{python3_other_pkgversion} find python%{python3_other_pkgversion} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %endif @@ -316,6 +312,9 @@ popd %changelog +* Fri Oct 26 2018 Antonio Trande - 0.17.0-1 +- Release 0.17.0 + * Wed Oct 24 2018 Antonio Trande - 0.17.0-0.1.20181019gitbee0f3b - Bump to a pre-release 0.17.0 diff --git a/sources b/sources index 74f44d4..300e5f2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-future-bee0f3bcb8ba9e7bd131d64e3bf631f5bd06c5b4.tar.gz) = 28b521b5a11a913089592f865216eae7819f2f6a9df50cdfb9e459ab11efa14552edf9dc3c4bf0c71409bc8f736ffda88cfd787a3bc1798f4a65c0da3f6f9057 +SHA512 (python-future-0.17.0.tar.gz) = 0b914ba062dd2b3c6837d8d8d274d27faadc587b264e887266527940fa7b4b98ce1b0076f1e589f943406d24b9e17f3ae8c2060c4ffa2207f620040988c176a3