From 26c898cc1eb2b2604b9ae29753ceaddda3d57ae3 Mon Sep 17 00:00:00 2001 From: kloczek Date: Mon, 6 Sep 1999 00:19:57 +0000 Subject: [PATCH] - fix: {un} registering info pages moved to devel. Changed files: conflib.spec -> 1.8 --- conflib.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/conflib.spec b/conflib.spec index ebcc7c4..d77dfb8 100644 --- a/conflib.spec +++ b/conflib.spec @@ -7,7 +7,6 @@ Copyright: GPL Group: Libraries Source: ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz Patch: conflib-info.patch -Prereq: /sbin/install-info Buildroot: /tmp/%{name}-%{version}-root %description @@ -18,6 +17,7 @@ Summary: file for developing programs that use the conflib library Summary(de): Dateien zum Entwickeln von Programmen mit der conflib-Library Group: Development/Libraries Requires: %{name} = %{version} +Prereq: /sbin/install-info %description devel This library makes it relativly easy to read configuration files (one or @@ -55,13 +55,14 @@ strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \ README NEWS ChangeLog -%post -/sbin/ldconfig +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel /sbin/install-info %{_infodir}/conflib.info.gz /etc/info-dir -%postun -p /sbin/ldconfig -%preun +%preun devel if [ "$1" = "0" ]; then /sbin/install-info --delete %{_infodir}/conflib.info.gz /etc/info-dir fi -- 2.44.0