]> git.pld-linux.org Git - packages/libevent.git/blobdiff - libevent.spec
- versioned Obsoletes
[packages/libevent.git] / libevent.spec
index 204f78d4c6cf3b2afb627f547ac722be17fe6682..9fda4fb22810c6987a731873ed9a0f529f3aa15f 100644 (file)
@@ -6,23 +6,24 @@
 Summary:       libevent - an event notification library
 Summary(pl.UTF-8):     libevent - biblioteka powiadamiajÄ…ca o zdarzeniach
 Name:          libevent
-Version:       2.1.11
-Release:       1
+Version:       2.1.12
+Release:       2
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/libevent/libevent/releases
 Source0:       https://github.com/libevent/libevent/releases/download/release-%{version}-stable/%{name}-%{version}-stable.tar.gz
-# Source0-md5: 7f35cfe69b82d879111ec0d7b7b1c531
+# Source0-md5: b5333f021f880fe76490d8a799cd79f4
 Patch0:                %{name}-fpm.patch
 Patch1:                %{name}-link.patch
-URL:           http://libevent.org/
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake >= 1:1.9
-BuildRequires: libtool >= 1:1.4.3
+URL:           https://libevent.org/
+BuildRequires: autoconf >= 2.67
+BuildRequires: automake >= 1:1.13
+BuildRequires: libtool >= 2:2.4.2
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
-Obsoletes:     libevent-dietlibc
+Obsoletes:     libevent-dietlibc < 2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -67,14 +68,15 @@ Statyczna biblioteka libevent.
 %patch0 -p1
 %patch1 -p1
 
-sed -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
-      event_rpcgen.py \
-      test/check-dumpevents.py
+%{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' \
+       event_rpcgen.py \
+       test/check-dumpevents.py
 
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
        --disable-silent-rules \
@@ -117,7 +119,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-# R: python
+# R: python3
 %attr(755,root,root) %{_bindir}/event_rpcgen.py
 %attr(755,root,root) %{_libdir}/libevent.so
 %attr(755,root,root) %{_libdir}/libevent_core.so
This page took 0.103322 seconds and 4 git commands to generate.