[packages/python-sphinxcontrib_github_alt] - updated to 1.2; force setuptools to generate pythondist dependencies
qboosh
qboosh at pld-linux.org
Fri Jun 27 21:39:27 CEST 2025
commit ba988d48431ab5330e8e73ece3f24534ef842d8f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jun 27 21:40:51 2025 +0200
- updated to 1.2; force setuptools to generate pythondist dependencies
python-sphinxcontrib_github_alt.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/python-sphinxcontrib_github_alt.spec b/python-sphinxcontrib_github_alt.spec
index ce24781..1ba454b 100644
--- a/python-sphinxcontrib_github_alt.spec
+++ b/python-sphinxcontrib_github_alt.spec
@@ -6,13 +6,13 @@
Summary: Link to GitHub issues, pull requests, commits and users from Sphinx docs
Summary(pl.UTF-8): Odnośniki z dokumentacji Sphinksa do zgłoszeń, pull requestów, commitów i użytkowników na GitHubie
Name: python-sphinxcontrib_github_alt
-Version: 1.1
-Release: 8
+Version: 1.2
+Release: 1
License: BSD
Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/sphinxcontrib_github_alt/
+#Source0Download: https://pypi.org/simple/sphinxcontrib-github-alt/
Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_github_alt/sphinxcontrib_github_alt-%{version}.tar.gz
-# Source0-md5: 6e8b239b13ee076c518446a101aa2f43
+# Source0-md5: 0e9f2ee320af2bc879adc9f4b96f0f7c
URL: https://pypi.org/project/sphinxcontrib_github_alt/
%if %{with python2}
BuildRequires: python-modules >= 1:2.5
@@ -24,7 +24,7 @@ BuildRequires: python3-setuptools
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python-docutils
+BuildRequires: sed >= 4.0
Requires: python-modules >= 1:2.5
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,7 +41,6 @@ commitów i użytkowników na GitHubie.
Summary: Link to GitHub issues, pull requests, commits and users from Sphinx docs
Summary(pl.UTF-8): Odnośniki z dokumentacji Sphinksa do zgłoszeń, pull requestów, commitów i użytkowników na GitHubie
Group: Libraries/Python
-Requires: python3-docutils
Requires: python3-modules >= 1:3.2
%description -n python3-sphinxcontrib_github_alt
@@ -55,6 +54,9 @@ commitów i użytkowników na GitHubie.
%prep
%setup -q -n sphinxcontrib_github_alt-%{version}
+# force setuptools to generate dependencies in metadata
+%{__sed} -i -e 's/distutils\.core/setuptools/' setup.py
+
%build
%if %{with python2}
%py_build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib_github_alt.git/commitdiff/ba988d48431ab5330e8e73ece3f24534ef842d8f
More information about the pld-cvs-commit
mailing list