diff --git a/pelican-4.9.1.tar.gz b/pelican-4.9.1-gh.tar.gz similarity index 100% rename from pelican-4.9.1.tar.gz rename to pelican-4.9.1-gh.tar.gz diff --git a/python-pelican.changes b/python-pelican.changes index 8a46115..b820730 100644 --- a/python-pelican.changes +++ b/python-pelican.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 26 10:49:06 UTC 2023 - Dirk Müller + +- reference github tarball +- cleanup dependencies + ------------------------------------------------------------------- Sun Nov 19 16:49:31 UTC 2023 - Benoît Monin @@ -477,7 +483,7 @@ Sun Nov 9 16:39:39 UTC 2014 - benoit.monin@gmx.fr ------------------------------------------------------------------- Sat Sep 20 15:02:41 UTC 2014 - benoit.monin@gmx.fr -- add the requires as buildrequires to guarantee they are available +- add the requires as buildrequires to guarantee they are available ------------------------------------------------------------------- Mon Sep 15 19:07:03 UTC 2014 - benoit.monin@gmx.fr diff --git a/python-pelican.spec b/python-pelican.spec index e4349fc..a67c9f2 100644 --- a/python-pelican.spec +++ b/python-pelican.spec @@ -16,7 +16,7 @@ # -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-pelican Version: 4.9.1 Release: 0 @@ -24,13 +24,10 @@ Summary: A tool to generate a static blog from reStructuredText or Markdo License: AGPL-3.0-only Group: Development/Languages/Python URL: https://getpelican.com/ -# Use the source instead of the pypi release for the tests -# Source: https://github.com/getpelican/pelican/archive/%%{version}.tar.gz -Source: pelican-%{version}.tar.gz +Source: https://github.com/getpelican/pelican/archive/refs/tags/%{version}.tar.gz#/pelican-%{version}-gh.tar.gz BuildRequires: %{python_module Jinja2 >= 3.1.2} BuildRequires: %{python_module Pygments >= 2.16.1} BuildRequires: %{python_module Unidecode >= 1.3.7} -BuildRequires: %{python_module backports-zoneinfo >= 0.2.1 if %python_base < 3.9} BuildRequires: %{python_module base >= 3.8.1} BuildRequires: %{python_module blinker >= 1.7.0} BuildRequires: %{python_module docutils >= 0.20.1} @@ -55,9 +52,6 @@ Requires: python-ordered-set >= 4.1.0 Requires: python-python-dateutil >= 2.8.2 Requires: python-rich >= 13.6.0 Requires: python-watchfiles >= 0.21.0 -%if "%{python_flavor}" < "python39" -Requires: python-backports-zoneinfo >= 0.2.1 -%endif Requires(post): update-alternatives Requires(postun):update-alternatives Suggests: asciidoc