SPECS: apr-util.spec - rel 3; build fixed

arekm arekm at pld-linux.org
Mon Sep 11 09:17:06 CEST 2006


Author: arekm                        Date: Mon Sep 11 07:17:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3; build fixed

---- Files affected:
SPECS:
   apr-util.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/apr-util.spec
diff -u SPECS/apr-util.spec:1.49 SPECS/apr-util.spec:1.50
--- SPECS/apr-util.spec:1.49	Fri Aug 25 13:12:58 2006
+++ SPECS/apr-util.spec	Mon Sep 11 09:17:01 2006
@@ -12,7 +12,7 @@
 Summary(pl):	Biblioteka towarzysząca Apache Portable Runtime
 Name:		apr-util
 Version:	1.2.7
-Release:	2
+Release:	3
 Epoch:		1
 License:	Apache v2.0
 Group:		Libraries
@@ -146,6 +146,24 @@
 
 rm -rf xml/expat
 
+echo '
+<Layout PLD>
+    prefix:        %{_prefix}
+    exec_prefix:   %{_exec_prefix}
+    bindir:        %{_bindir}
+    sbindir:       %{_sbindir}
+    libdir:        %{_libdir}
+    libexecdir:    %{_libdir}/apr
+    mandir:        %{_mandir}
+    sysconfdir:    %{_sysconfdir}
+    datadir:       %{_datadir}
+    installbuilddir: %{_datadir}/build
+    includedir:    %{_includedir}
+    localstatedir: %{_localstatedir}
+    runtimedir:    %{_localstatedir}/run
+</Layout>
+' > config.layout
+
 %build
 ./buildconf \
 	--with-apr=%{_datadir}/apr
@@ -154,6 +172,7 @@
 %endif
 
 %configure \
+	--enable-layout=PLD \
 	--with-apr=%{_bindir}/apr-1-config \
 %if %{with ldap}
 	--with-ldap \
@@ -197,6 +216,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
  
 %if %{with dso}
+install -d $RPM_BUILD_ROOT%{_libdir}
 %if %{with mysql}
 libtool --mode=install /usr/bin/install -c -m 755 dbd/libapr_dbd_mysql.la $RPM_BUILD_ROOT%{_libdir}
 mv $RPM_BUILD_ROOT%{_libdir}/{lib,}apr_dbd_mysql.so
@@ -273,6 +293,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2006/09/11 07:17:01  arekm
+- rel 3; build fixed
+
 Revision 1.49  2006/08/25 11:12:58  arekm
 - rel 2; reenable berkeley db; db4 as default dbm
 
================================================================

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



More information about the pld-cvs-commit mailing list