[packages/openocd] missing fix-info-dir

glen glen at pld-linux.org
Sun Mar 22 13:34:21 CET 2015


commit fc44786977eaddd6f878f95c6ea348772b02ce20
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 22 14:34:09 2015 +0200

    missing fix-info-dir

 openocd.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/openocd.spec b/openocd.spec
index f59e03b..2b46ff6 100644
--- a/openocd.spec
+++ b/openocd.spec
@@ -1,10 +1,13 @@
 # https://sourceforge.net/apps/trac/openocd/ticket/51
+#
+# Conditional build:
 %bcond_without	libftdi	# use libftdi instead of libftd2xx
 %bcond_without	system_jimtcl
+
 Summary:	Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing
 Name:		openocd
 Version:	0.6.1
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications
 Source0:	http://downloads.sourceforge.net/openocd/%{name}-%{version}.tar.bz2
@@ -86,13 +89,18 @@ the LPC3180's NAND flash controller is included.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openocd.git/commitdiff/fc44786977eaddd6f878f95c6ea348772b02ce20



More information about the pld-cvs-commit mailing list