Accepting request 290770 from home:pluskalm:branches:devel:libraries:c_c++

- Cleanup spec file with spec-cleaner
- Add gpg signature
- Enable tests that do not require network connection

OBS-URL: https://build.opensuse.org/request/show/290770
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libevent?expand=0&rev=25
This commit is contained in:
Marcus Meissner 2015-03-16 13:44:37 +00:00 committed by Git OBS Bridge
parent f28a186e93
commit 41daeb48d8
4 changed files with 634832 additions and 10 deletions

View File

@ -0,0 +1,14 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGVAwUAVKqqxJEDl9iNKTGaAQLv5Qv+MdcKNtyQrxQIDCqig3P7FyzWTfltwjin
76pBCqZONHyWsqD9+/gHBu3lyqN/T2wcyYQevt2M/qVn5xdATL5Tru6le3tywI+5
/2jF3yZMVoAFAQ1dt3KIeNYIuMSiFHAMobhrBtaBMuCV9uV5Ds+6Vl0Krc7aeEwR
p6DECS5fC/0P58zbbTO+zat1Pg9e7Q2n1DD60PYmqfwwvP/O1HNfPVcWHXgdaxIq
6oEgwErljmzTXY4qiZ+q7pqI73Mvy6qfBMpUcwxHgKrtrmeHlIO9nu693TK4r/HK
ACnaBo6LQqepswLQXY/ngGa7K0E4m+e4Ke67sXro97Jvqa2NBY9eb7WdEamxlVO6
2NH1MG+kxJx4Z4C2RhuGQ0pokOCk1oXU4E7dUdd/xFiDhkTqvH0kgnPV71qYOCow
FtPiNLAfohhSYuFZSyJiVo7J9ICsrzFDkONqDoryiLundJDcQoomakFM1wc+IalC
KhRl5ePROXSJUmP+d5XlN/mxgPN+V8i0
=gVJN
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Mar 14 09:10:46 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Add gpg signature
- Enable tests that do not require network connection
-------------------------------------------------------------------
Sun Feb 22 15:47:36 UTC 2015 - benoit.monin@gmx.fr

634797
libevent.keyring Normal file

File diff suppressed because it is too large Load Diff

View File

@ -16,9 +16,8 @@
#
Name: libevent
%define libsoname %{name}-2_0-5
Name: libevent
Version: 2.0.22
Release: 0
Summary: An event notification library
@ -26,12 +25,12 @@ License: BSD-3-Clause
Group: System/Libraries
Url: http://libevent.org/
Source0: https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/%{name}-%{version}-stable.tar.gz
Source1: baselibs.conf
Source1: https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/%{name}-%{version}-stable.tar.gz.asc
Source2: %{name}.keyring
Source3: baselibs.conf
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: zlib-devel
Requires(pre): %fillup_prereq
Requires(pre): %insserv_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -77,9 +76,9 @@ Summary: Development files for libevent2
Group: Development/Libraries/C and C++
Requires: %{libsoname} = %{version}
Requires: glibc-devel
Provides: %{name}:/usr/include/event.h
# Both have /usr/include/event.h
Conflicts: libev-devel
Provides: %{name}:%{_includedir}/event.h
%description devel
The libevent API provides a mechanism to execute a callback function
@ -99,15 +98,20 @@ framework.
This package holds the development files for libevent2.
%prep
%setup -q -n %{name}-%{version}-stable
%setup -q -n %{name}-%{version}-stable
%build
%configure --disable-static
%configure \
--disable-static \
--disable-libevent-regress
make %{?_smp_mflags}
%check
make check
%install
%makeinstall
find %{buildroot}%{_libdir} -name "*.la" -delete -print
%make_install %{?_smp_mflags}
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%post -n %{libsoname} -p /sbin/ldconfig