]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- added info patch (adjust direntry to PLD formatting)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 13 Apr 2020 15:32:14 +0000 (17:32 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 13 Apr 2020 15:32:14 +0000 (17:32 +0200)
poldek-info.patch [new file with mode: 0644]
poldek.spec

diff --git a/poldek-info.patch b/poldek-info.patch
new file mode 100644 (file)
index 0000000..975e094
--- /dev/null
@@ -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
index 9f8a89e9aa3e49937093f74f1cf082704f6d0610..9aaf94e53b757c5163f5e0a45d3808d4750ccfba 100644 (file)
@@ -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
This page took 0.034121 seconds and 4 git commands to generate.