diff --git a/greenlet-0.4.17.tar.gz b/greenlet-0.4.17.tar.gz deleted file mode 100644 index 3af9363..0000000 --- a/greenlet-0.4.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b -size 61381 diff --git a/greenlet-1.0.0.tar.gz b/greenlet-1.0.0.tar.gz new file mode 100644 index 0000000..e74438a --- /dev/null +++ b/greenlet-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:719e169c79255816cdcf6dccd9ed2d089a72a9f6c42273aae12d55e8d35bdcf8 +size 84525 diff --git a/python-greenlet-rpmlintrc b/python-greenlet-rpmlintrc new file mode 100644 index 0000000..50f9bc7 --- /dev/null +++ b/python-greenlet-rpmlintrc @@ -0,0 +1 @@ +addFilter('devel-file-in-non-devel-package .*/greenlet/.*') diff --git a/python-greenlet.changes b/python-greenlet.changes index e98f8c9..74c1b48 100644 --- a/python-greenlet.changes +++ b/python-greenlet.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 1 22:13:52 UTC 2021 - Dirk Müller + +- update to 1.0.0: + * Require setuptools to build from source. + * Stop asking setuptools to build both .tar.gz and .zip + sdists. PyPI has standardized on .tar.gz for all platforms. + * Publish the change log to https://greenlet.readthedocs.io + ------------------------------------------------------------------- Mon Sep 28 10:54:19 UTC 2020 - Dirk Mueller diff --git a/python-greenlet.spec b/python-greenlet.spec index c5b5e61..99ddea7 100644 --- a/python-greenlet.spec +++ b/python-greenlet.spec @@ -1,7 +1,7 @@ # # spec file for package python-greenlet # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,13 +19,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-greenlet -Version: 0.4.17 +Version: 1.0.0 Release: 0 Summary: Lightweight in-process concurrent programming License: MIT Group: Development/Libraries/Python URL: https://github.com/python-greenlet/greenlet Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz +Source9: python-greenlet-rpmlintrc BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: c++_compiler @@ -55,7 +56,9 @@ This package contains header files required for C modules development. %build export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" %python_build -cd doc && make html && rm _build/html/.buildinfo + +export PYTHONPATH=$PWD/src +cd docs && make html && rm _build/html/.buildinfo %install %python_install @@ -66,8 +69,8 @@ export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" %python_exec setup.py -q test %files %{python_files} -%doc AUTHORS NEWS README.rst -%doc doc/_build/html/ +%doc AUTHORS CHANGES.rst README.rst +%doc docs/_build/html/ %license LICENSE* %{python_sitearch}/greenlet*