summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvsdist <cvsdist@fedoraproject.org>2004-09-09 07:46:18 +0000
committercvsdist <cvsdist@fedoraproject.org>2004-09-09 07:46:18 +0000
commitc332da559e43c7db58eed7a653f4df95aa3cc1b6 (patch)
treedc0d11ed9e59cafda4cd38d1c10af7993513bbde
parent2ad37a9833d8631abf5f054fea6c9722c71cf353 (diff)
downloadlibtool-c332da559e43c7db58eed7a653f4df95aa3cc1b6.tar.gz
libtool-c332da559e43c7db58eed7a653f4df95aa3cc1b6.tar.xz
libtool-c332da559e43c7db58eed7a653f4df95aa3cc1b6.zip
auto-import changelog data from libtool-1.4.2-7.src.rpmlibtool-1_4_2-7RHL-7_3-split
Wed Mar 27 2002 Jens Petersen <petersen@redhat.com> 1.4.2-7 - run ldconfig in postin and postun
-rw-r--r--libtool.spec27
1 files changed, 12 insertions, 15 deletions
diff --git a/libtool.spec b/libtool.spec
index a10d895..eb1a689 100644
--- a/libtool.spec
+++ b/libtool.spec
@@ -1,7 +1,7 @@
Summary: The GNU libtool, which simplifies the use of shared libraries.
Name: libtool
Version: 1.4.2
-Release: 6
+Release: 7
License: GPL
Group: Development/Tools
Source: ftp://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.bz2
@@ -10,8 +10,9 @@ Patch1: libtool-1.3.5-mktemp.patch
Patch2: libtool-1.4-nonneg.patch
Patch4: libtool-1.4.2-s390.patch
Patch5: libtool-1.4.2-test-quote.patch
-Patch6: libtool-1.4.2-filemagic.patch
-Patch7: libtool-1.4.2-archive-shared.patch
+#Patch6: libtool-1.4.2-filemagic.patch
+#Patch7: libtool-1.4.2-archive-shared.patch
+#Patch8: libtool-1.4.2-destdir-relink-58664.patch
Prefix: %{_prefix}
PreReq: /sbin/install-info, autoconf, automake >= 1.4p1, m4, perl
Requires: libtool-libs = %{version}-%{release}, mktemp
@@ -54,13 +55,12 @@ provide the dynamic loading library
%define __libtoolize /bin/true
%configure
-make -k -C doc
+make -C doc
make
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
-
%makeinstall
cp install-sh missing mkinstalldirs demo
@@ -82,22 +82,16 @@ rm -rf ${RPM_BUILD_ROOT}
%post
/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir
-# the rest of the post script is not needed, right?
-exit 0
-
-# XXX hack alert
-cd %{_defaultdocdir}/libtool-%{version}/demo || cd %{_prefix}/doc/libtool-%{version}/demo || exit 0
-libtoolize --copy --force
-aclocal
-autoheader
-automake
-autoconf
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/libtool.info.gz %{_infodir}/dir
fi
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL NEWS README
@@ -115,6 +109,9 @@ fi
%{_libdir}/libltdl.so.*
%changelog
+* Wed Mar 27 2002 Jens Petersen <petersen@redhat.com> 1.4.2-7
+- run ldconfig in postin and postun
+
* Thu Feb 28 2002 Jens Petersen <petersen@redhat.com> 1.4.2-6
- rebuild in new environment