diff pidgin.spec.in @ 24263:e4f4ffd7ed4c

propagate from branch 'im.pidgin.pidgin' (head 4e892c470840f4ed8b012015b15ff8956166028a) to branch 'im.pidgin.pidgin.openq' (head 2dab44421846610c60c31aa1402de99f4001b996)
author SHiNE CsyFeK <csyfek@gmail.com>
date Tue, 28 Oct 2008 16:59:07 +0000
parents 273d5fc31eab
children 72442d45b014
line wrap: on
line diff
--- a/pidgin.spec.in	Tue Oct 28 16:48:36 2008 +0000
+++ b/pidgin.spec.in	Tue Oct 28 16:59:07 2008 +0000
@@ -240,7 +240,7 @@
                                     %{?_without_tcl:--disable-tcl} \
                                     %{?_without_text:--disable-consoleui}
 
-make %{?_smp_mflags}
+make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
 
 %install
 rm -rf %{buildroot}
@@ -251,7 +251,7 @@
      sysconfdir=%{buildroot}%{_sysconfdir} \
      install
 %else
-make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install
 %endif
 
 # Delete files that we don't want to put in any of the RPMs
@@ -263,6 +263,7 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/libjabber.so
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
+find $RPM_BUILD_ROOT -type f -name '*.a' -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'