commit aec4dc151d05280fc5876183e1c22b82794f18ac
Author: Jakub Bogusz <[email protected]>
Date:   Tue Feb 25 21:27:46 2020 +0100

    - updated ac/am versions, simplified shebang fixes

 libevent.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/libevent.spec b/libevent.spec
index 204f78d..803770f 100644
--- a/libevent.spec
+++ b/libevent.spec
@@ -16,11 +16,12 @@ Source0:    
https://github.com/libevent/libevent/releases/download/release-%{versio
 Patch0:                %{name}-fpm.patch
 Patch1:                %{name}-link.patch
 URL:           http://libevent.org/
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake >= 1:1.9
+BuildRequires: autoconf >= 2.62
+BuildRequires: automake >= 1:1.11.2
 BuildRequires: libtool >= 1:1.4.3
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
 Obsoletes:     libevent-dietlibc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,9 +68,9 @@ 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$,%{__python},' \
+       event_rpcgen.py \
+       test/check-dumpevents.py
 
 %build
 %{__libtoolize}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libevent.git/commitdiff/aec4dc151d05280fc5876183e1c22b82794f18ac

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to