SPECS: apr.spec - use system autotools in -devel

glen glen at pld-linux.org
Wed Nov 2 20:11:55 CET 2005


Author: glen                         Date: Wed Nov  2 19:11:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use system autotools in -devel

---- Files affected:
SPECS:
   apr.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/apr.spec
diff -u SPECS/apr.spec:1.38 SPECS/apr.spec:1.39
--- SPECS/apr.spec:1.38	Fri Oct 14 10:01:24 2005
+++ SPECS/apr.spec	Wed Nov  2 20:11:50 2005
@@ -52,6 +52,8 @@
 Group:		Development/Libraries
 Requires:	%{name} = %{epoch}:%{version}-%{release}
 Requires:	libuuid-devel
+Requires:	automake
+Requires:	libtool
 
 %description devel
 Header files and development documentation for apr.
@@ -105,7 +107,10 @@
 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_datadir}/libtool
 
 mv -f $RPM_BUILD_ROOT%{_datadir}/build-1 $RPM_BUILD_ROOT%{_datadir}/build
-install build/{*apr*.m4,*.awk,*.sh,config.*} $RPM_BUILD_ROOT%{_datadir}/build
+install build/{*apr*.m4,*.awk,*.sh} $RPM_BUILD_ROOT%{_datadir}/build
+ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_datadir}/build
+ln -snf /usr/share/libtool/ltmain.sh $RPM_BUILD_ROOT%{_datadir}/build
+ln -snf /usr/bin/libtool $RPM_BUILD_ROOT%{_datadir}/build
 ln -sf build $RPM_BUILD_ROOT%{_datadir}/build-1
 
 %{__perl} -pi -e 's@^(APR_SOURCE_DIR=).*@$1"%{_datadir}"@' $RPM_BUILD_ROOT%{_bindir}/apr-config
@@ -151,6 +156,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2005/11/02 19:11:50  glen
+- use system autotools in -devel
+
 Revision 1.38  2005/10/14 08:01:24  qboosh
 - updated to 1.2.2 (bugfixes)
 - avoid simultaneous TCP_NODELAY|TCP_CORK (for Linux 2.4.x compatibility)
@@ -198,7 +206,7 @@
 - BR: python (checked by buildcheck)
 
 Revision 1.24  2004/09/05 08:06:28  pluto
-- ehh, %%files updated.
+- ehh, %files updated.
 
 Revision 1.23  2004/09/05 08:04:00  pluto
 - symlink: build -> build-1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apr.spec?r1=1.38&r2=1.39&f=u




More information about the pld-cvs-commit mailing list