- BuildRequire libtalloc-devel instead of libtalloc2-devel.

- Rename libtevent2-devel to libtevent-devel.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=4
This commit is contained in:
Lars Müller 2012-05-31 12:05:52 +00:00 committed by Git OBS Bridge
parent d6ec97028d
commit 764d29290b
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 31 12:01:45 UTC 2012 - lmuelle@suse.com
- BuildRequire libtalloc-devel instead of libtalloc2-devel.
- Rename libtevent2-devel to libtevent-devel.
-------------------------------------------------------------------
Wed May 30 15:30:59 UTC 2012 - lmuelle@suse.com

View File

@ -19,7 +19,7 @@
Name: libtevent0
BuildRequires: doxygen
BuildRequires: libtalloc2-devel >= 2.0.7
BuildRequires: libtalloc-devel >= 2.0.7
%if 0%{?suse_version} > 1020
BuildRequires: pkg-config
%else
@ -51,19 +51,19 @@ Tevent also provide helpers to deal with asynchronous code providing the
tevent_req (Tevent Request) functions.
%package devel
%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: libtevent0 = %{version}
Requires: libtalloc2-devel >= 2.0.7
Requires: libtalloc-devel >= 2.0.7
%if 0%{?suse_version} > 1020
Requires: pkg-config
%else
Requires: pkgconfig
%endif
%description devel
%description -n libtevent-devel
Tevent is an event system based on the talloc memory management library. It is
the core event system used in Samba.
@ -125,7 +125,7 @@ find ${RPM_BUILD_ROOT} -name "*.so*" -exec chmod -c +x {} \;
%defattr(-,root,root)
%{_libdir}/libtevent.so.*
%files devel
%files -n libtevent-devel
%defattr(-,root,root)
%{_includedir}/tevent.h
%{_libdir}/libtevent.so