forked from pool/tevent
Define library name and use it instead of libtevent0.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
bc37eb6120
commit
57dc7244f9
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 3 21:52:07 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Define library name and use it instead of libtevent0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 2 15:46:14 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
15
tevent.spec
15
tevent.spec
@@ -60,13 +60,14 @@ Tevent also provide helpers to deal with asynchronous code providing the
|
||||
tevent_req (tevent request) functions.
|
||||
|
||||
|
||||
%package -n libtevent0
|
||||
%define libtevent_name libtevent0
|
||||
%package -n %{libtevent_name}
|
||||
License: LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
PreReq: /sbin/ldconfig
|
||||
Summary: Samba tevent Library
|
||||
|
||||
%description -n libtevent0
|
||||
%description -n %{libtevent_name}
|
||||
Tevent is an event system based on the talloc memory management library. It
|
||||
is the core event system used in Samba.
|
||||
|
||||
@@ -80,7 +81,7 @@ This package contains the tevent0 library.
|
||||
License: LGPL-3.0+
|
||||
Summary: Libraries and Header Files to Develop Programs with tevent0 Support
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libtevent0 = %{version}
|
||||
Requires: %{libtevent_name} = %{version}
|
||||
Requires: libtalloc-devel >= %{talloc_version}
|
||||
%if 0%{?suse_version} > 1020
|
||||
Requires: pkg-config
|
||||
@@ -105,7 +106,7 @@ This package contains libraries and header files need for development.
|
||||
License: LGPL-3.0+
|
||||
Summary: Python bindings for the Tevent library
|
||||
Group: Development/Libraries/Python
|
||||
Requires: libtevent0 = %{version}
|
||||
Requires: %{libtevent_name} = %{version}
|
||||
|
||||
%description -n python-tevent
|
||||
This package contains the python bindings for the Tevent library.
|
||||
@@ -140,15 +141,15 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
# include them in debuginfo
|
||||
find ${RPM_BUILD_ROOT} -name "*.so*" -exec chmod -c +x {} \;
|
||||
|
||||
%post -n libtevent0 -p /sbin/ldconfig
|
||||
%post -n %{libtevent_name} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libtevent0 -p /sbin/ldconfig
|
||||
%postun -n %{libtevent_name} -p /sbin/ldconfig
|
||||
|
||||
%post -n python-tevent -p /sbin/ldconfig
|
||||
|
||||
%postun -n python-tevent -p /sbin/ldconfig
|
||||
|
||||
%files -n libtevent0
|
||||
%files -n %{libtevent_name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtevent.so.*
|
||||
|
||||
|
Reference in New Issue
Block a user