diff --git a/feedgenerator-1.9.2.tar.gz b/feedgenerator-1.9.2.tar.gz deleted file mode 100644 index b0325a1..0000000 --- a/feedgenerator-1.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b06d6941e8fd6a2c9e71791079e86cbe7a3788c72244acc06f0593b49cda379b -size 28076 diff --git a/feedgenerator-2.0.0.tar.gz b/feedgenerator-2.0.0.tar.gz new file mode 100644 index 0000000..2a73f06 --- /dev/null +++ b/feedgenerator-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6836d456b8b0edbc5b6d3a42d1be852cebd43d2f28af4ff51789eb295f1860e2 +size 23093 diff --git a/python-feedgenerator.changes b/python-feedgenerator.changes index a9fcf1e..933fbc3 100644 --- a/python-feedgenerator.changes +++ b/python-feedgenerator.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Sep 28 20:24:30 UTC 2021 - Benoît Monin + +- udpate to version 2.0.0: + * Add preliminary support for adding images to feeds + * Update code for Python 3.6+ + * Drop support for Python 2.7 + * Fix double subtitles if both description & subtitle are + provided +- skip python2 build: support dropped from upstream +- add pytest to the BuildRequires: needed for the tests now +- run the tests with pytest but skip coverage generation + ------------------------------------------------------------------- Wed Aug 18 19:16:18 UTC 2021 - Benoît Monin diff --git a/python-feedgenerator.spec b/python-feedgenerator.spec index b16769a..eca9196 100644 --- a/python-feedgenerator.spec +++ b/python-feedgenerator.spec @@ -16,15 +16,17 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-feedgenerator -Version: 1.9.2 +Version: 2.0.0 Release: 0 Summary: Standalone version of django.utilsfeedgenerator, compatible with Py3k License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/getpelican/feedgenerator Source: https://files.pythonhosted.org/packages/source/f/feedgenerator/feedgenerator-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} @@ -51,7 +53,8 @@ It has evolved over time and includes numerous enhancements. %check export LC_ALL=en_US.utf8 -%pyunittest discover -v +# skip coverage by using an empty configuration file +%pytest -c /dev/null %files %{python_files} %license LICENSE