[packages/rpm] don't require pandoc for man pages installation
atler
atler at pld-linux.org
Sat Nov 23 13:54:53 CET 2024
commit 2307411f9bc4cc425d5362ef1cf1a8ca2ba1104e
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Nov 23 12:59:26 2024 +0100
don't require pandoc for man pages installation
man pages come prebuilt in dist tarball so pandoc is not even used
during build
dist-man.patch | 11 +++++++++++
rpm.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/rpm.spec b/rpm.spec
index c8ffa99..3e976ec 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -90,6 +90,7 @@ Patch36: build-locale.patch
Patch37: no-exe-for-elf-req.patch
Patch40: perl-heredoc-matching.patch
Patch41: python-hash-type.patch
+Patch42: dist-man.patch
URL: https://rpm.org/
BuildRequires: acl-devel
%{?with_audit:BuildRequires: audit-libs-devel}
@@ -666,6 +667,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
%patch37 -p1
%patch40 -p1
%patch41 -p1
+%patch42 -p1
%{__rm} po/*.gmo
diff --git a/dist-man.patch b/dist-man.patch
new file mode 100644
index 0000000..18c7957
--- /dev/null
+++ b/dist-man.patch
@@ -0,0 +1,11 @@
+--- rpm-4.18.2/docs/Makefile.am.orig 2023-11-13 13:18:27.695107693 +0100
++++ rpm-4.18.2/docs/Makefile.am 2024-11-23 12:53:58.103081224 +0100
+@@ -1,8 +1,6 @@
+ ## Process this file with automake to produce Makefile.in
+
+-if PANDOC
+ SUBDIRS = man
+-endif
+
+ EXTRA_DIST =
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/2307411f9bc4cc425d5362ef1cf1a8ca2ba1104e
More information about the pld-cvs-commit
mailing list