From: kloczek Date: Mon, 6 Sep 1999 00:19:57 +0000 (+0000) Subject: - fix: {un} registering info pages moved to devel. X-Git-Tag: conflib-0_4_5-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fconflib.git;a=commitdiff_plain;h=refs%2Ftags%2Fconflib-0_4_5-1 - fix: {un} registering info pages moved to devel. Changed files: conflib.spec -> 1.8 --- 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