From: Arkadiusz Miśkiewicz Date: Mon, 2 Jan 2006 09:00:09 +0000 (+0000) Subject: - rel 2; DSOs with DBD backends X-Git-Tag: auto/ac/apr-util-1_2_2-2 X-Git-Url: http://git.pld-linux.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Ftags%2Fauto%2Fth%2Fapr-util-1_2_2-2;p=packages%2Fapr-util.git - rel 2; DSOs with DBD backends Changed files: apr-util.spec -> 1.41 --- diff --git a/apr-util.spec b/apr-util.spec index a04e7c7..a42a6dc 100644 --- a/apr-util.spec +++ b/apr-util.spec @@ -10,7 +10,7 @@ Summary: A companion library to Apache Portable Runtime Summary(pl): Biblioteka towarzysz±ca Apache Portable Runtime Name: apr-util Version: 1.2.2 -Release: 1.23 +Release: 2 Epoch: 1 License: Apache v2.0 Group: Libraries @@ -22,6 +22,7 @@ Patch0: %{name}-link.patch Patch1: %{name}-mysql.patch Patch2: %{name}-db4.4.patch Patch3: %{name}-dso.patch +Patch4: %{name}-dbd.patch URL: http://apr.apache.org/ BuildRequires: apr-devel >= 1:1.1.0 %{?with_mysql:BuildRequires: apr-devel >= 1:1.2.2-2.6} @@ -122,7 +123,10 @@ cp %{SOURCE1} dbd/apr_dbd_mysql.c # (and it shouldn't: apr-devel should have it -glen) %{__sed} -i -e 's/^\(.*gen-build\.py\)/#\1/' buildconf %endif -%{?with_dso:%patch3 -p1} +%if %{with dso} +%patch3 -p1 +%patch4 -p1 +%endif rm -rf xml/expat @@ -147,8 +151,6 @@ rm -rf xml/expat CC="%{__cc}" %if %{with dso} -# ugly hack until they fix their build system to provide this -%{__sed} -i -e 's,-l\(pq\|mysqlclient_r\|sqlite\|sqlite3\) ,,g' Makefile apr-util.pc apu-1-config %{__sed} -i -e '/OBJECTS_all/s, dbd/apr_dbd_.*\.lo,,g' build-outputs.mk rm -f libaprutil-1.la %{__make} libaprutil-1.la