forked from pool/tevent
Disable rpath while configure.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
61583f2494
commit
651524297b
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 28 16:29:25 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Disable rpath while configure.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 3 21:52:07 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
16
tevent.spec
16
tevent.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package tevent (Version 0.9.15)
|
||||
# spec file for package tevent
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -15,14 +15,12 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%define talloc_version 2.0.7
|
||||
|
||||
|
||||
Name: tevent
|
||||
BuildRequires: doxygen
|
||||
#!BuildIgnore: libtalloc
|
||||
@@ -32,19 +30,19 @@ BuildRequires: pkg-config
|
||||
%else
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: pytalloc-devel >= %{talloc_version}
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||
%define build_make_smp_mflags %{?_smp_mflags}
|
||||
%else
|
||||
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
||||
%endif
|
||||
License: LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
Url: http://tevent.samba.org/
|
||||
Version: 0.9.15
|
||||
Release: 0
|
||||
Summary: An event system based on the talloc memory management library
|
||||
License: LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
Source: http://download.samba.org/pub/tevent/tevent-%{version}.tar.gz
|
||||
Source4: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -62,10 +60,9 @@ tevent_req (tevent request) functions.
|
||||
|
||||
%define libtevent_name libtevent0
|
||||
%package -n %{libtevent_name}
|
||||
License: LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
PreReq: /sbin/ldconfig
|
||||
Summary: Samba tevent Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libtevent_name}
|
||||
Tevent is an event system based on the talloc memory management library. It
|
||||
@@ -78,7 +75,6 @@ This package contains the tevent0 library.
|
||||
|
||||
|
||||
%package -n libtevent-devel
|
||||
License: LGPL-3.0+
|
||||
Summary: Libraries and Header Files to Develop Programs with tevent0 Support
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libtevent_name} = %{version}
|
||||
@@ -103,7 +99,6 @@ This package contains libraries and header files need for development.
|
||||
|
||||
|
||||
%package -n python-tevent
|
||||
License: LGPL-3.0+
|
||||
Summary: Python bindings for the Tevent library
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{libtevent_name} = %{version}
|
||||
@@ -125,6 +120,7 @@ export CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE ${OPTIMIZATION} -D_LARGEFILE64_SOU
|
||||
CONFIGURE_OPTIONS="\
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
--disable-rpath \
|
||||
--bundled-libraries=NONE \
|
||||
--builtin-libraries=replace \
|
||||
"
|
||||
|
Reference in New Issue
Block a user