forked from pool/python-pelican
- reference github tarball
- cleanup dependencies - add the requires as buildrequires to guarantee they are available OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pelican?expand=0&rev=48
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user