[packages/poldek] - added info patch (adjust direntry to PLD formatting)

qboosh qboosh at pld-linux.org
Mon Apr 13 17:32:21 CEST 2020


commit 5e4ef52a61a7ebbf59a4f8c2d8254376514f1f49
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 13 17:32:14 2020 +0200

    - added info patch (adjust direntry to PLD formatting)

 poldek-info.patch | 22 ++++++++++++++++++++++
 poldek.spec       |  5 +++++
 2 files changed, 27 insertions(+)
---
diff --git a/poldek.spec b/poldek.spec
index 9f8a89e..9aaf94e 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -55,6 +55,7 @@ Patch0:		%{name}-config.patch
 Patch1:		pm-hooks.patch
 Patch2:		%{name}-ext-down-enable.patch
 Patch3:		%{name}-pc.patch
+Patch4:		%{name}-info.patch
 URL:		http://poldek.pld-linux.org/
 BuildRequires:	%{db_pkg}-devel >= %{ver_db}
 BuildRequires:	autoconf >= 2.63
@@ -227,7 +228,9 @@ Moduły języka Python dla poldka.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
+%{__rm} doc/poldek.info
 %{__rm} m4/libtool.m4 m4/lt*.m4
 
 # cleanup backups after patching
@@ -263,6 +266,8 @@ cd ..
 	%{?with_python:--with-python}
 %{__make}
 
+%{__make} -C doc poldek.info
+
 %if %{with python}
 %{__make} -C python
 %endif
diff --git a/poldek-info.patch b/poldek-info.patch
new file mode 100644
index 0000000..975e094
--- /dev/null
+++ b/poldek-info.patch
@@ -0,0 +1,22 @@
+--- poldek-0.42.2/doc/manual.xml.orig	2020-01-25 22:59:59.000000000 +0100
++++ poldek-0.42.2/doc/manual.xml	2020-04-13 16:10:47.472359736 +0200
+@@ -44,7 +44,7 @@
+  <titleabbrev role="texinfo-node">poldek</titleabbrev>
+  <abstract role="texinfo-node">
+   <para>
+-    full-featured frontend to RPM.
++    Full-featured frontend to RPM
+   </para>
+  </abstract>
+ 
+--- poldek-0.42.2/doc/Makefile.am.orig	2020-01-25 22:59:59.000000000 +0100
++++ poldek-0.42.2/doc/Makefile.am	2020-04-13 16:12:58.478316683 +0200
+@@ -81,7 +81,7 @@
+ 	docbook2X2texi --xinclude $< -o $(@D) || docbook2texi --xinclude $< || true
+ 	perl -pi -e 's|\@emph\{|\@samp\{|g' poldek.texi
+ 	makeinfo --no-split --force poldek.texi -o $@
+-	perl -pi -e 's/^\* poldek manual: \(poldek\)(.+)$$/* poldek: (poldek)$$1/' $@
++	perl -pi -e 's/^\* poldek manual: \(poldek\)\. *(.+)$$/* poldek: (poldek).\t\t\t$$1/' $@
+ 	rm -f *.texi
+ 
+ manual.html: manual.xml.xhtml.tmp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/5e4ef52a61a7ebbf59a4f8c2d8254376514f1f49



More information about the pld-cvs-commit mailing list