From 764d29290baf5969345e09b0b7b2b3d7f00e7e80c48e29d8129fe22fe901cdd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Thu, 31 May 2012 12:05:52 +0000 Subject: [PATCH] - 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 --- tevent.changes | 6 ++++++ tevent.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/tevent.changes b/tevent.changes index 3d875b5..fe4134e 100644 --- a/tevent.changes +++ b/tevent.changes @@ -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 diff --git a/tevent.spec b/tevent.spec index 55cac2e..2ff8123 100644 --- a/tevent.spec +++ b/tevent.spec @@ -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