rpms/iax/devel iax.spec,1.2,1.3

Tom Callaway spot at fedoraproject.org
Fri Feb 19 00:57:50 UTC 2010


Author: spot

Update of /cvs/pkgs/rpms/iax/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1327/devel

Modified Files:
	iax.spec 
Log Message:
fix FTBFS


Index: iax.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iax/devel/iax.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- iax.spec	25 Jul 2009 02:59:29 -0000	1.2
+++ iax.spec	19 Feb 2010 00:57:50 -0000	1.3
@@ -1,6 +1,6 @@
 Name:		iax
 Version:	0.2.2 
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Implementation of Inter-Asterisk eXchange protocol
 Group:		System Environment/Libraries
 License:	GPL+ and LGPLv2+
@@ -8,6 +8,7 @@ URL:		http://downloads.digium.com/pub/li
 Source0:	http://downloads.digium.com/pub/libiax/%{name}-%{version}.tar.gz
 Patch0:		iax-0.2.2-DESTDIR.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:	libtool
 
 %description
 Inter Asterisk eXchange, lovingly called IAX (pronounced: eeks), is the 
@@ -31,11 +32,12 @@ developing applications that use %{name}
 %setup -q
 %patch0 -p1 -b .DESTDIR
 # We don't need to invoke this here. Non-package installs might.
-sed -i 's|/sbin/ldconfig||g' src/Makefile.in
+sed -i 's|/sbin/ldconfig||g' src/Makefile.am
 
 # Fix libdir in iax-config.in
 sed -i 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|g' iax-config.in
 sed -i 's|/usr/lib|%{_libdir}|g' iax-config.in
+autoreconf -if
 
 %build
 %configure --disable-static
@@ -44,6 +46,9 @@ make %{?_smp_mflags} UCFLAGS="%{optflags
 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
+pushd src
+make install-am DESTDIR=%{buildroot}
+popd 
 find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
 %clean
@@ -65,6 +70,9 @@ rm -rf %{buildroot}
 %{_libdir}/libiax.so
 
 %changelog
+* Thu Feb 19 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 0.2.2-4
+- fix FTBFS (bz 564849)
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list