Disable rpath while configure.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=16
This commit is contained in:
parent
58a8b46590
commit
a865abcc94
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 28 16:29:25 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
- Disable rpath while configure.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 3 21:18:46 UTC 2012 - lmuelle@suse.com
|
Sun Jun 3 21:18:46 UTC 2012 - lmuelle@suse.com
|
||||||
|
|
||||||
|
14
ldb.spec
14
ldb.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ldb (Version 1.1.6)
|
# spec file for package ldb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
@ -23,27 +22,26 @@
|
|||||||
%define tdb_version 1.2.10
|
%define tdb_version 1.2.10
|
||||||
%define tevent_version 0.9.15
|
%define tevent_version 0.9.15
|
||||||
|
|
||||||
|
|
||||||
Name: ldb
|
Name: ldb
|
||||||
#!BuildIgnore: libtalloc
|
#!BuildIgnore: libtalloc
|
||||||
BuildRequires: libtalloc-devel >= %{talloc_version}
|
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||||
BuildRequires: libtdb-devel >= %{tdb_version}
|
BuildRequires: libtdb-devel >= %{tdb_version}
|
||||||
BuildRequires: libtevent-devel >= %{tevent_version}
|
BuildRequires: libtevent-devel >= %{tevent_version}
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
BuildRequires: python-tdb >= %{tdb_version}
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-tdb >= %{tdb_version}
|
||||||
BuildRequires: python-tevent >= %{tevent_version}
|
BuildRequires: python-tevent >= %{tevent_version}
|
||||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||||
%define build_make_smp_mflags %{?_smp_mflags}
|
%define build_make_smp_mflags %{?_smp_mflags}
|
||||||
%else
|
%else
|
||||||
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
||||||
%endif
|
%endif
|
||||||
License: LGPL-3.0+
|
|
||||||
Group: System/Libraries
|
|
||||||
Url: http://ldb.samba.org/
|
Url: http://ldb.samba.org/
|
||||||
Version: 1.1.6
|
Version: 1.1.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An LDAP-like embedded database
|
Summary: An LDAP-like embedded database
|
||||||
|
License: LGPL-3.0+
|
||||||
|
Group: System/Libraries
|
||||||
Source: http://download.samba.org/pub/ldb/ldb-%{version}.tar.gz
|
Source: http://download.samba.org/pub/ldb/ldb-%{version}.tar.gz
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -54,7 +52,6 @@ Ldb is an LDAP-like embedded database.
|
|||||||
|
|
||||||
%define libldb_name libldb1
|
%define libldb_name libldb1
|
||||||
%package -n %{libldb_name}
|
%package -n %{libldb_name}
|
||||||
License: LGPL-3.0+
|
|
||||||
Summary: An LDAP-like embedded database
|
Summary: An LDAP-like embedded database
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
@ -71,7 +68,6 @@ This package includes the ldb1 library.
|
|||||||
|
|
||||||
|
|
||||||
%package -n libldb-devel
|
%package -n libldb-devel
|
||||||
License: LGPL-3.0+
|
|
||||||
Summary: Libraries and Header Files to Develop Programs with ldb1 Support
|
Summary: Libraries and Header Files to Develop Programs with ldb1 Support
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libldb_name} = %{version}
|
Requires: %{libldb_name} = %{version}
|
||||||
@ -83,7 +79,6 @@ Libraries and Header Files to Develop Programs with ldb1 Support
|
|||||||
|
|
||||||
|
|
||||||
%package -n ldb-tools
|
%package -n ldb-tools
|
||||||
License: LGPL-3.0+
|
|
||||||
Summary: Tools to manipulate ldb files
|
Summary: Tools to manipulate ldb files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
@ -108,6 +103,7 @@ export CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE ${OPTIMIZATION} -D_LARGEFILE64_SOU
|
|||||||
CONFIGURE_OPTIONS="\
|
CONFIGURE_OPTIONS="\
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
|
--disable-rpath \
|
||||||
--with-modulesdir=%{_libdir} \
|
--with-modulesdir=%{_libdir} \
|
||||||
--bundled-libraries=tdb2 \
|
--bundled-libraries=tdb2 \
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user