From 3efb0ef6130ac4314655a385d06a9a7109cecd97005c17692a57975b41f5c921 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 24 Mar 2011 15:39:34 +0000 Subject: [PATCH] Accepting request 64828 from devel:libraries:c_c++ Accepted submit request 64828 from user coolo OBS-URL: https://build.opensuse.org/request/show/64828 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libevent?expand=0&rev=17 --- libevent-1.4.14b-stable.tar.bz2 | 3 -- libevent-2.0.10-stable.tar.bz2 | 3 ++ libevent.changes | 27 +++++++++++++++++ libevent.spec | 52 +++++++++++++-------------------- 4 files changed, 51 insertions(+), 34 deletions(-) delete mode 100644 libevent-1.4.14b-stable.tar.bz2 create mode 100644 libevent-2.0.10-stable.tar.bz2 diff --git a/libevent-1.4.14b-stable.tar.bz2 b/libevent-1.4.14b-stable.tar.bz2 deleted file mode 100644 index 01bfb11..0000000 --- a/libevent-1.4.14b-stable.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de7cc7865d16acbb65fb8463d3443f354bd3a453e5d5604b1584e351398c3064 -size 371466 diff --git a/libevent-2.0.10-stable.tar.bz2 b/libevent-2.0.10-stable.tar.bz2 new file mode 100644 index 0000000..e26578a --- /dev/null +++ b/libevent-2.0.10-stable.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5d7b25bf1feed5d08a7f9580c4d55c1f4ba40a0ccd534b7350c6c0c1b6f534c +size 640943 diff --git a/libevent.changes b/libevent.changes index 206151a..17fe2d8 100644 --- a/libevent.changes +++ b/libevent.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Mar 22 11:51:31 UTC 2011 - dimstar@opensuse.org + +- Drop autoreconf call from build section. We do not carry any + patches at this time. + +------------------------------------------------------------------- +Mon Mar 21 23:02:31 UTC 2011 - dimstar@opensuse.org + +- Update to version 2.0.10: + + Bugfixes: + - Minor fix for IOCP shutdown handling fix + - Correctly notify the main thread when activating an event + from a subthread + - Reject overlong http requests early when Expect:100-continue + is set + - EVUTIL_ASSERT: Use sizeof() to avoid "unused variable" + warnings with -DNDEBUG. + + Code cleanups: + - bufferevent-internal.h: Use the new event2/util.h header, + not evutil.h + - Use relative includes instead of system includes consistently + - Make whitespace more consistent +- For all changes between 1.4.14 and 2.0.10, see ChangeLog. +- BuildRequire pkg-config, for proper pkgconfig() provides. +- Change library soname to libevent-2_0-5 + ------------------------------------------------------------------- Mon Jun 21 14:41:53 UTC 2010 - alexandre@exatati.com.br diff --git a/libevent.spec b/libevent.spec index a880c8e..278b840 100644 --- a/libevent.spec +++ b/libevent.spec @@ -1,7 +1,7 @@ # -# spec file for package libevent (Version 1.4.14b) +# spec file for package libevent (Version 2.0.10) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,14 @@ Name: libevent -Version: 1.4.14b +Version: 2.0.10 Release: 1 License: BSD3c(or similar) Summary: Library Providing an Event Handling API Url: http://monkey.org/~provos/libevent/ Group: Development/Libraries/C and C++ Source: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2 +BuildRequires: pkg-config PreReq: %fillup_prereq PreReq: %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,41 +35,31 @@ The libevent library provides a mechanism to execute a function when a specific event on a file descriptor occurs or after a given time has passed. -Author: --------- - Nils Provos - -%define library_name libevent-1_4-2 +%define library_name libevent-2_0-5 %define debug_package_requires %{library_name} = %{version}-%{release} -%package -n libevent-1_4-2 +%package -n libevent-2_0-5 License: BSD3c(or similar) -# Summary: Shared libraries from libevent Group: Development/Libraries/C and C++ Provides: %{name} = %{version} Obsoletes: %{name} <= %{version} -%description -n libevent-1_4-2 +%description -n libevent-2_0-5 The libevent library provides a mechanism to execute a function when a specific event on a file descriptor occurs or after a given time has passed. This package holds the shared libraries for libevent. -Author: --------- - Nils Provos - %package devel License: BSD3c(or similar) -# -Summary: Development files for libevent +Summary: Development files for libevent2 Group: Development/Libraries/C and C++ Requires: %{library_name} = %{version} Requires: glibc-devel Provides: %{name}:/usr/include/event.h -# both have /usr/include/event.h +# Both have /usr/include/event.h Conflicts: libev-devel %description devel @@ -76,23 +67,18 @@ The libevent library provides a mechanism to execute a function when a specific event on a file descriptor occurs or after a given time has passed. -This package holds the development files for libevent. - -Author: --------- - Nils Provos +This package holds the development files for libevent2. %prep -%setup -q -n %name-%version-stable +%setup -q -n %{name}-%{version}-stable %build -autoreconf -i -f %configure --disable-static -%{__make} %{?jobs:-j%jobs} +%{__make} %{?_smp_mflags} %install %makeinstall -%{__rm} -v %{buildroot}%{_libdir}/*.la +find %{buildroot}%{_libdir} -name "*.la" -delete -print %clean rm -rf %{buildroot} @@ -103,17 +89,21 @@ rm -rf %{buildroot} %files -n %{library_name} %defattr(-,root,root,-) -%{_libdir}/libevent-1.4.so.2* -%{_libdir}/libevent_core-1.4.so.2* -%{_libdir}/libevent_extra-1.4.so.2* +%{_libdir}/libevent-2.0.so.5* +%{_libdir}/libevent_core-2.0.so.5* +%{_libdir}/libevent_extra-2.0.so.5* +%{_libdir}/libevent_pthreads-2.0.so.5* %files devel %defattr(-,root,root) %{_bindir}/event_rpcgen.py %{_includedir}/*.h -%{_mandir}/man3/* +%{_includedir}/event2 %{_libdir}/libevent.so %{_libdir}/libevent_core.so %{_libdir}/libevent_extra.so +%{_libdir}/libevent_pthreads.so +%{_libdir}/pkgconfig/libevent.pc +%{_libdir}/pkgconfig/libevent_pthreads.pc %changelog