[ghex] Don't override libtool
Kalev Lember
kalev at fedoraproject.org
Sat Sep 10 09:17:37 UTC 2011
commit 135c0d86f0ff42ef62e106006da4fd79000977d9
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sat Sep 10 11:47:35 2011 +0300
Don't override libtool
Doing so apparently also overrides some of the options passed to
libtool, so that e.g. configure --disable-static doesn't work.
ghex.spec | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/ghex.spec b/ghex.spec
index 787ef56..5029d67 100644
--- a/ghex.spec
+++ b/ghex.spec
@@ -16,7 +16,6 @@ BuildRequires: desktop-file-utils
BuildRequires: scrollkeeper
BuildRequires: perl-XML-Parser
BuildRequires: gnome-doc-utils
-BuildRequires: libtool
BuildRequires: intltool
Requires(post): scrollkeeper
Requires(post): /sbin/ldconfig
@@ -45,10 +44,8 @@ developing applications that use %{name}.
%setup -q
%build
-%configure --disable-static
-#Use system libtool to prevent the libtool in the package
-#to set standard rpath to the generated binaries
-make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
+%configure
+make %{?_smp_mflags}
%install
@@ -106,7 +103,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
-%exclude %{_libdir}/*.a
%changelog
More information about the scm-commits
mailing list