diff --git a/.gitignore b/.gitignore index 63a4e8e..7ebb2e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /ironfroggy-straight.plugin-57ef11c.tar.gz /straight.plugin-1.4.0-post-1.tar.gz +/straight.plugin-1.5.0.tar.gz diff --git a/python-straight-plugin.spec b/python-straight-plugin.spec index c5afdd3..cf4c9f7 100644 --- a/python-straight-plugin.spec +++ b/python-straight-plugin.spec @@ -5,14 +5,14 @@ %endif Name: python-straight-plugin -Version: 1.4.0 -Release: 13%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: Python plugin loader License: BSD URL: https://github.com/ironfroggy/straight.plugin/ -Source0: http://pypi.python.org/packages/source/s/straight.plugin/straight.plugin-1.4.0-post-1.tar.gz +Source0: https://files.pythonhosted.org/packages/48/89/34ae6a87784d0b607af61c84a52c313c598f1d86ce5c1e9eb6da038fee5f/straight.plugin-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel @@ -71,43 +71,43 @@ the plugins in it for some particular purpose or intent. %endif %prep -%setup -q -c -n straight.plugin-1.4.0-post-1 +%setup -q -c %if 0%{?with_python3} -cp -r straight.plugin-%{version}-post-1/ py3-straight.plugin-%{version}-post-1 -2to3 --write --nobackups py3-straight.plugin-%{version}-post-1 +cp -r straight.plugin-%{version}/ py3-straight.plugin-%{version} +2to3 --write --nobackups py3-straight.plugin-%{version} %endif %build -pushd straight.plugin-%{version}-post-1 +pushd straight.plugin-%{version} %{__python} setup.py build popd %if 0%{?with_python3} -pushd py3-straight.plugin-%{version}-post-1 +pushd py3-straight.plugin-%{version} %{__python3} setup.py build popd %endif %install rm -rf $RPM_BUILD_ROOT -pushd straight.plugin-%{version}-post-1 +pushd straight.plugin-%{version} %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT popd %if 0%{?with_python3} -pushd py3-straight.plugin-%{version}-post-1 +pushd py3-straight.plugin-%{version} %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT popd %endif #%check -#pushd straight.plugin-%{version}-post-1 +#pushd straight.plugin-%{version} #%{__python} tests.py #popd # #%if 0%{?with_python3} -#pushd py3-straight.plugin-%{version}-post-1 +#pushd py3-straight.plugin-%{version} #%{__python3} tests.py #popd #%endif @@ -123,6 +123,9 @@ popd %endif %changelog +* Thu Apr 26 2018 Pierre-Yves Chibon - 1.5.0-1 +- Update to 1.5.0 + * Mon Feb 12 2018 Iryna Shcherbina - 1.4.0-13 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) diff --git a/sources b/sources index a7ee5ff..3c8bff3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e1a22847055f377fa4c9a99d733eb44c straight.plugin-1.4.0-post-1.tar.gz +SHA512 (straight.plugin-1.5.0.tar.gz) = 64652f90d6ef02b129b438bfe75781fd259e6ec081b32941c120a64e9591e344c2a0a86ad7b895731af3a95255b230631483eae1bdfe8bc5b21365907758766c