SHA256
1
0
forked from pool/libevent

Accepting request 104848 from devel:libraries:c_c++

- Remove redundant tags/sections per specfile guideline suggestions
- Use "pkgconfig" BR so that the package also works on Redhats.

OBS-URL: https://build.opensuse.org/request/show/104848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libevent?expand=0&rev=23
This commit is contained in:
Stephan Kulow 2012-02-16 15:17:35 +00:00 committed by Git OBS Bridge
commit afd46a6510
2 changed files with 11 additions and 13 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 1 01:13:02 UTC 2012 - jengelh@medozas.de
- Remove redundant tags/sections per specfile guideline suggestions
- Use "pkgconfig" BR so that the package also works on Redhats.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 3 13:59:36 UTC 2011 - friseer@gmx.de Wed Aug 3 13:59:36 UTC 2011 - friseer@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libevent # spec file for package libevent
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,23 +16,21 @@
# #
Name: libevent Name: libevent
%define libsoname %{name}-2_0-5 %define libsoname %{name}-2_0-5
Version: 2.0.10 Version: 2.0.10
Release: 3 Release: 0
License: BSD-3-Clause
Summary: Library Providing an Event Handling API Summary: Library Providing an Event Handling API
Url: http://monkey.org/~provos/libevent/ License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://monkey.org/~provos/libevent/
Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2 Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: pkg-config BuildRequires: pkgconfig
PreReq: %fillup_prereq PreReq: %fillup_prereq
PreReq: %insserv_prereq PreReq: %insserv_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires %{libsoname} = %{version}-%{release}
%description %description
The libevent library provides a mechanism to execute a function when a The libevent library provides a mechanism to execute a function when a
@ -41,8 +39,6 @@ passed.
%package -n %{libsoname} %package -n %{libsoname}
License: BSD-3-Clause
Summary: Shared libraries from libevent Summary: Shared libraries from libevent
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: %{name} = %{version} Provides: %{name} = %{version}
@ -56,7 +52,6 @@ passed.
This package holds the shared libraries for libevent. This package holds the shared libraries for libevent.
%package devel %package devel
License: BSD-3-Clause
Summary: Development files for libevent2 Summary: Development files for libevent2
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{libsoname} = %{version} Requires: %{libsoname} = %{version}
@ -83,9 +78,6 @@ This package holds the development files for libevent2.
%makeinstall %makeinstall
find %{buildroot}%{_libdir} -name "*.la" -delete -print find %{buildroot}%{_libdir} -name "*.la" -delete -print
%clean
rm -rf %{buildroot}
%post -n %{libsoname} -p /sbin/ldconfig %post -n %{libsoname} -p /sbin/ldconfig
%postun -n %{libsoname} -p /sbin/ldconfig %postun -n %{libsoname} -p /sbin/ldconfig