From ef67e0ed54c5cce2ce69afcf22c91e9e3189a3fa883e02604aa6054730275c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 14 Mar 2014 11:56:47 +0000 Subject: [PATCH] Accepting request 223714 from home:oertel:branches:network:ldap - use configure macro also for building the 2.3.37 version - use configure macro also for building the 2.3.37 version OBS-URL: https://build.opensuse.org/request/show/223714 OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=115 --- openldap2-client.changes | 5 +++++ openldap2-client.spec | 7 ++++--- openldap2.changes | 5 +++++ openldap2.spec | 7 ++++--- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/openldap2-client.changes b/openldap2-client.changes index ce1c9c1..36850be 100644 --- a/openldap2-client.changes +++ b/openldap2-client.changes @@ -3,6 +3,11 @@ Tue Feb 18 14:39:07 UTC 2014 - ckornacker@suse.com - Fix systemd service installation +------------------------------------------------------------------- +Sun Feb 16 18:55:40 CET 2014 - ro@suse.de + +- use configure macro also for building the 2.3.37 version + ------------------------------------------------------------------- Wed Feb 12 11:24:08 UTC 2014 - varkoly@suse.com diff --git a/openldap2-client.spec b/openldap2-client.spec index 133e3a0..291503c 100644 --- a/openldap2-client.spec +++ b/openldap2-client.spec @@ -273,13 +273,14 @@ make %{?jobs:-j%jobs} # to be able to update existing databases cd ../openldap-2.3.37 %{?suse_update_config:%{suse_update_config -f build}} +# update config.sub for recent architectures +cp -a ../openldap-%{version_main}/build/config.sub build/config.sub libtoolize --force #aclocal -I build autoreconf export CFLAGS="$RPM_OPT_FLAGS -Wno-format-extra-args -fno-strict-aliasing -DLDAP_DEPRECATED -DLDAP_CONNECTIONLESS" -./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var/run/slapd --libexecdir=/usr/lib/openldap \ - --libdir=%{_libdir} --mandir=%{_mandir} --enable-aci \ +%configure --localstatedir=/var/run/slapd --libexecdir=/usr/lib/openldap \ + --enable-aci \ --enable-hdb --enable-bdb --enable-ldbm --enable-crypt \ --enable-ipv6=no \ --enable-ldap --enable-monitor --enable-meta --enable-rewrite \ diff --git a/openldap2.changes b/openldap2.changes index ce1c9c1..36850be 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -3,6 +3,11 @@ Tue Feb 18 14:39:07 UTC 2014 - ckornacker@suse.com - Fix systemd service installation +------------------------------------------------------------------- +Sun Feb 16 18:55:40 CET 2014 - ro@suse.de + +- use configure macro also for building the 2.3.37 version + ------------------------------------------------------------------- Wed Feb 12 11:24:08 UTC 2014 - varkoly@suse.com diff --git a/openldap2.spec b/openldap2.spec index bb8fc66..303e502 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -273,13 +273,14 @@ make %{?jobs:-j%jobs} # to be able to update existing databases cd ../openldap-2.3.37 %{?suse_update_config:%{suse_update_config -f build}} +# update config.sub for recent architectures +cp -a ../openldap-%{version_main}/build/config.sub build/config.sub libtoolize --force #aclocal -I build autoreconf export CFLAGS="$RPM_OPT_FLAGS -Wno-format-extra-args -fno-strict-aliasing -DLDAP_DEPRECATED -DLDAP_CONNECTIONLESS" -./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var/run/slapd --libexecdir=/usr/lib/openldap \ - --libdir=%{_libdir} --mandir=%{_mandir} --enable-aci \ +%configure --localstatedir=/var/run/slapd --libexecdir=/usr/lib/openldap \ + --enable-aci \ --enable-hdb --enable-bdb --enable-ldbm --enable-crypt \ --enable-ipv6=no \ --enable-ldap --enable-monitor --enable-meta --enable-rewrite \