[packages/source-highlight] - adjust also source-highlight-lib.info direntry in info patch; release 9
qboosh
qboosh at pld-linux.org
Tue Oct 8 20:33:26 CEST 2019
commit e7715ed004ab15f975cfd7bf064783a285d3ac60
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 8 20:36:42 2019 +0200
- adjust also source-highlight-lib.info direntry in info patch; release 9
source-highlight-info.patch | 14 ++++++++++++++
source-highlight.spec | 13 +++++++++----
2 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/source-highlight.spec b/source-highlight.spec
index 3c4d062..cd715aa 100644
--- a/source-highlight.spec
+++ b/source-highlight.spec
@@ -2,7 +2,7 @@ Summary: GNU Source Highlight
Summary(pl.UTF-8): Podświetlanie składni z projektu GNU
Name: source-highlight
Version: 3.1.8
-Release: 8
+Release: 9
License: GPL v3+
Group: Applications/Publishing
Source0: http://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
@@ -116,6 +116,12 @@ rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
+%post devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
@@ -130,10 +136,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/check-regexp.1*
%{_mandir}/man1/source-highlight.1*
%{_mandir}/man1/source-highlight-settings.1*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/*
+%{_datadir}/%{name}
%{_infodir}/source-highlight.info*
-%{_infodir}/source-highlight-lib.info*
%files libs
%defattr(644,root,root,755)
@@ -145,6 +149,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/libsource-highlight.so
%{_includedir}/srchilite
%{_pkgconfigdir}/source-highlight.pc
+%{_infodir}/source-highlight-lib.info*
%files static
%defattr(644,root,root,755)
diff --git a/source-highlight-info.patch b/source-highlight-info.patch
index 74ef545..d203584 100644
--- a/source-highlight-info.patch
+++ b/source-highlight-info.patch
@@ -32,3 +32,17 @@
- at end example
\ No newline at end of file
+ at end example
+--- source-highlight-3.1.8/doc/source-highlight-lib.texi.orig 2015-03-30 20:11:19.000000000 +0200
++++ source-highlight-3.1.8/doc/source-highlight-lib.texi 2019-10-08 19:39:29.382696925 +0200
+@@ -70,9 +70,9 @@
+ @end quotation
+ @end copying
+
+- at dircategory C++ Libraries
++ at dircategory Libraries:
+ @direntry
+-* Source-highlight-lib: (source-highlight-lib). Highlights contents
++* Source-highlight-lib: (source-highlight-lib). Highlights contents
+ @end direntry
+
+ @titlepage
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/source-highlight.git/commitdiff/e7715ed004ab15f975cfd7bf064783a285d3ac60
More information about the pld-cvs-commit
mailing list