public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-linuxdoc] f45: feat: update as per review comments
Date: Tue, 10 Nov 2026 22:22:00 GMT [thread overview]
Message-ID: <179434932050.1.15784670710046955203.rpms-python-linuxdoc-a6741ae02d1e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-linuxdoc
Branch : f45
Commit : a6741ae02d1e540212b165da7ef1c801dbe1b6db
Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
Date : 2023-03-25T12:21:17+05:30
Stats : +14/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-linuxdoc/c/a6741ae02d1e540212b165da7ef1c801dbe1b6db?branch=f45
Log:
feat: update as per review comments
- update to latest release
- include license file
- use SPDX license
- generate and install man pages
---
diff --git a/python-linuxdoc.spec b/python-linuxdoc.spec
index 74c4658..ac8d9d6 100644
--- a/python-linuxdoc.spec
+++ b/python-linuxdoc.spec
@@ -8,12 +8,12 @@ started in context of the Linux-Kernel documentation, you can use these
extensions in common Sphinx-doc projects.}
Name: python-linuxdoc
-Version: 20221127
+Version: 20230321
Release: %{autorelease}
Summary: Sphinx-doc extensions for sophisticated C developer
-License: GPLv2
+License: AGPL-3.0-or-later
URL: https://return42.github.io/linuxdoc/
Source0: %{pypi_source linuxdoc}
@@ -24,11 +24,7 @@ BuildArch: noarch
%package -n python3-linuxdoc
Summary: %{summary}
BuildRequires: python3-devel
-# Not included in package metadata
-BuildRequires: python3-docutils
-BuildRequires: python3-sphinx
-Requires: python3-docutils
-Requires: python3-sphinx
+BuildRequires: help2man
%description -n python3-linuxdoc %_description
@@ -51,6 +47,16 @@ find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/
%install
%pyproject_install
+# generate man pages
+# must be done here because binaries must be installed
+for binfile in "kernel-autodoc" "kernel-doc" "kernel-grepdoc" "kernel-lintdoc"
+do
+ ls -lash "$RPM_BUILD_ROOT/%{_bindir}/${binfile}"
+ help2man -N --version-string %{version} -h -h --no-discard-stderr "$RPM_BUILD_ROOT/%{_bindir}/${binfile}" > "${binfile}.1"
+done
+
+install -p -m 0644 -D -t "$RPM_BUILD_ROOT/%{_mandir}/man1/" *.1
+
%pyproject_save_files linuxdoc
%check
@@ -63,6 +69,7 @@ find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/
%{_bindir}/kernel-doc
%{_bindir}/kernel-grepdoc
%{_bindir}/kernel-lintdoc
+%{_mandir}/man1/kernel-*
%changelog
reply other threads:[~2026-11-10 22:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179434932050.1.15784670710046955203.rpms-python-linuxdoc-a6741ae02d1e@fedoraproject.org \
--to=sanjay.ankur@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox