[packages/guile1: 34/172] - release 2, - new {un}registering procedure for info pages with using /usr/sbin/fix-info-dir, - s

jajcus jajcus at pld-linux.org
Sat Dec 12 13:41:38 CET 2015


commit 85fa1947ec46ab34270d6d62a94c4959ca299e52
Author: kloczek <kloczek at pld-linux.org>
Date:   Mon Sep 13 18:48:09 1999 +0000

    - release 2,
    - new {un}registering procedure for info pages with using
      /usr/sbin/fix-info-dir,
    - standarization to "* text: (link).  description" index info entries
      format.
    
    Changed files:
        guile.spec -> 1.31

 guile.spec | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/guile.spec b/guile.spec
index 10f9f01..1c541d4 100644
--- a/guile.spec
+++ b/guile.spec
@@ -2,13 +2,12 @@ Summary:	GNU Extension language
 Summary(pl):	GNU Extension language
 Name:		guile
 Version:	1.3.2
-Release:	1
+Release:	2
 Copyright:	GPL
 Group:		Development/Languages
 Group(pl):	Programowanie/J�zyki
 Source:		ftp://prep.ai.mit.edu/pub/gnu/guile/%{name}-%{version}.tar.gz
 Patch0:		guile-info.pach
-Prereq:		/sbin/install-info
 Requires:	umb-scheme
 Buildroot:	/tmp/%{name}-%{version}-root
 
@@ -26,6 +25,7 @@ Summary(pl):	Pliki nag
 Group:		Development/Libraries
 Group(pl):	Programowanie/Biblioteki
 Requires:	m4
+Prereq:		/usr/sbin/fix-info-dir
 Requires:	%{name} = %{version}
 
 %description devel
@@ -72,12 +72,10 @@ gzip -9fn $RPM_BUILD_ROOT%{_infodir}/data-rep* \
 %postun -p /sbin/ldconfig
 
 %post devel
-/sbin/install-info %{_infodir}/data-rep.info.gz /etc/info-dir
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%preun devel
-if [ "$1" = "0" ]; then
-	/sbin/install-info --delete %{_infodir}/data-rep.info.info.gz /etc/info-dir
-fi
+%postun devel
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -101,4 +99,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/lib*.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guile1.git/commitdiff/ebe6c26bec9cbe3813afc2be58f989889f8e944a



More information about the pld-cvs-commit mailing list