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
This commit is contained in:
Sascha Peilicke 2011-03-24 15:39:34 +00:00 committed by Git OBS Bridge
parent 6451ba2ab4
commit 3efb0ef613
4 changed files with 51 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de7cc7865d16acbb65fb8463d3443f354bd3a453e5d5604b1584e351398c3064
size 371466

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5d7b25bf1feed5d08a7f9580c4d55c1f4ba40a0ccd534b7350c6c0c1b6f534c
size 640943

View File

@ -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

View File

@ -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 <provos@citi.umich.edu>
%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 <provos@citi.umich.edu>
%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 <provos@citi.umich.edu>
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