diff --git a/libevent.changes b/libevent.changes index 04a049d..eeaf510 100644 --- a/libevent.changes +++ b/libevent.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 1 01:13:02 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions + ------------------------------------------------------------------- Wed Aug 3 13:59:36 UTC 2011 - friseer@gmx.de diff --git a/libevent.spec b/libevent.spec index ab687f9..30e79d2 100644 --- a/libevent.spec +++ b/libevent.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -15,22 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: libevent %define libsoname %{name}-2_0-5 Version: 2.0.10 -Release: 1 -License: BSD3c(or similar) +Release: 0 Summary: Library Providing an Event Handling API -Url: http://monkey.org/~provos/libevent/ +License: BSD-3-Clause Group: Development/Libraries/C and C++ +Url: http://monkey.org/~provos/libevent/ Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2 Source1: baselibs.conf BuildRequires: pkg-config PreReq: %fillup_prereq PreReq: %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define debug_package_requires %{libsoname} = %{version}-%{release} %description The libevent library provides a mechanism to execute a function when a @@ -39,7 +39,6 @@ passed. %package -n %{libsoname} -License: BSD3c(or similar) Summary: Shared libraries from libevent Group: Development/Libraries/C and C++ Provides: %{name} = %{version} @@ -53,7 +52,6 @@ passed. This package holds the shared libraries for libevent. %package devel -License: BSD3c(or similar) Summary: Development files for libevent2 Group: Development/Libraries/C and C++ Requires: %{libsoname} = %{version} @@ -80,10 +78,8 @@ This package holds the development files for libevent2. %makeinstall find %{buildroot}%{_libdir} -name "*.la" -delete -print -%clean -rm -rf %{buildroot} - %post -n %{libsoname} -p /sbin/ldconfig + %postun -n %{libsoname} -p /sbin/ldconfig %files -n %{libsoname}