commit cd7cf9c22a6f8863701e189dc6089e9e4035056f
Author: Jan Rękorajski <[email protected]>
Date:   Tue Mar 9 23:44:56 2021 +0100

    - we do have gettimeofday(), build is just confused
    - rel 4

 python-line_profiler.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-line_profiler.spec b/python-line_profiler.spec
index da8171b..1dff506 100644
--- a/python-line_profiler.spec
+++ b/python-line_profiler.spec
@@ -5,13 +5,13 @@
 %bcond_without python2 # CPython 2.x module
 %bcond_without python3 # CPython 3.x module
 
-%define        module  line_profiler
+%define                module  line_profiler
 Summary:       module for doing line-by-line profiling of functions
 Summary(pl.UTF-8):     Moduł do optymalizacji linia po linii kodu funkcji
 # Name must match the python module/package name (as in 'import' statement)
 Name:          python-%{module}
 Version:       2.1
-Release:       3
+Release:       4
 License:       BSD
 Group:         Libraries/Python
 Source0:       https://github.com/rkern/line_profiler/archive/%{version}.tar.gz
@@ -78,13 +78,13 @@ Dokumentacja API %{module}.
 %build
 %if %{with python2}
 CC="%{__cc}" \
-CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+CFLAGS="%{rpmcppflags} %{rpmcflags} -DHAVE_GETTIMEOFDAY" \
 %py_build %{?with_tests:test}
 %endif
 
 %if %{with python3}
 CC="%{__cc}" \
-CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+CFLAGS="%{rpmcppflags} %{rpmcflags} -DHAVE_GETTIMEOFDAY" \
 %py3_build %{?with_tests:test}
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-line_profiler.git/commitdiff/cd7cf9c22a6f8863701e189dc6089e9e4035056f

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

Reply via email to