[packages/apache-mod_backtrace] - up to 2.01; use libunwind
arekm
arekm at pld-linux.org
Thu Sep 18 19:26:19 CEST 2014
commit 2b6c54f3bab892521da12252dd45a4a497a0b834
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Sep 18 19:26:16 2014 +0200
- up to 2.01; use libunwind
apache-mod_backtrace.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/apache-mod_backtrace.spec b/apache-mod_backtrace.spec
index 853d14b..98db3f6 100644
--- a/apache-mod_backtrace.spec
+++ b/apache-mod_backtrace.spec
@@ -3,15 +3,16 @@
Summary: Apache module: collects backtraces on crashes
Summary(pl.UTF-8): Moduł Apache: zbiera informacje o awariach
Name: apache-mod_%{mod_name}
-Version: 2.00
-Release: 3
+Version: 2.01
+Release: 1
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://emptyhammock.com/downloads/wku_bt-%{version}.zip
-# Source0-md5: acc3f8497b0aabaad5c24d8d34d53ff1
+# Source0-md5: 32bbe148f6cb2b8714166388f94d9129
URL: http://emptyhammock.com/projects/httpd/diag/
BuildRequires: %{apxs}
BuildRequires: apache-devel >= 2.0
+BuildRequires: libunwind-devel
BuildRequires: rpmbuild(macros) >= 1.268
Requires: apache-mod_whatkilledus >= %{version}
Requires: apache(modules-api) = %apache_modules_api
@@ -35,10 +36,12 @@ serwera apache ulegnie zniszczeniu.
%build
%{apxs} -c mod_%{mod_name}.c diag.c \
+ -DDIAG_HAVE_LIBUNWIND_BACKTRACE=1 \
%if "%{__lib}" == "lib64"
- -DDIAG_BITS_64=1 \
+ -DDIAG_BITS_64=1 \
%endif
- -o mod_%{mod_name}.la
+ -lunwind \
+ -o mod_%{mod_name}.la
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_backtrace.git/commitdiff/2b6c54f3bab892521da12252dd45a4a497a0b834
More information about the pld-cvs-commit
mailing list