]> git.pld-linux.org Git - packages/apache-mod_backtrace.git/commitdiff
- up to 2.01; use libunwind master auto/th/apache-mod_backtrace-2.01-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 18 Sep 2014 17:26:16 +0000 (19:26 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 18 Sep 2014 17:26:16 +0000 (19:26 +0200)
apache-mod_backtrace.spec

index 853d14b0f4b92c3a20fdd09f829787ecfe54a381..98db3f671547efdfb751a0ef4c920620b72a4d7a 100644 (file)
@@ -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
This page took 0.10275 seconds and 4 git commands to generate.