forked from pool/redis
Accepting request 597690 from server:database
OBS-URL: https://build.opensuse.org/request/show/597690 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/redis?expand=0&rev=41
This commit is contained in:
commit
78e72d3865
10
redis-disable_integration_logging.patch
Normal file
10
redis-disable_integration_logging.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- tests/test_helper.tcl.orig 2018-04-17 18:04:29.778303392 +0200
|
||||
+++ tests/test_helper.tcl 2018-04-17 18:04:46.688365379 +0200
|
||||
@@ -40,7 +40,6 @@ set ::all_tests {
|
||||
integration/aof
|
||||
integration/rdb
|
||||
integration/convert-zipmap-hash-on-load
|
||||
- integration/logging
|
||||
integration/psync2
|
||||
integration/psync2-reg
|
||||
unit/pubsub
|
@ -6,7 +6,7 @@ Index: src/config.h
|
||||
|
||||
/* Test for backtrace() */
|
||||
#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__))
|
||||
+#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__)
|
||||
+#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__) || defined (__arm__)
|
||||
#define HAVE_BACKTRACE 1
|
||||
#endif
|
||||
+#endif
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 16:13:17 UTC 2018 - guillaume.gardet@opensuse.org
|
||||
|
||||
- Update redis-enable-bactrace-on-x86-and-ia64-only.patch to handle
|
||||
arm and rename it to redis-enable-bactrace-on-x86-ia64-and_arm32_only.patch
|
||||
- Add redis-disable_integration_logging.patch to disable logging test
|
||||
when backtrace is not enabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 13:13:49 UTC 2018 - ilya@ilya.pp.ua
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org
|
||||
#
|
||||
|
||||
|
||||
%define _data_dir %{_localstatedir}/lib/%{name}
|
||||
%define _log_dir %{_localstatedir}/log/%{name}
|
||||
%define _conf_dir %{_sysconfdir}/%{name}
|
||||
@ -36,7 +37,8 @@ Source6: %{name}.sysctl
|
||||
Patch0: %{name}-initscript.patch
|
||||
# PATCH-MISSING-TAG -- See https://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch1: %{name}-conf.patch
|
||||
Patch2: %{name}-enable-bactrace-on-x86-and-ia64-only.patch
|
||||
Patch2: %{name}-enable-bactrace-on-x86-ia64-and_arm32_only.patch
|
||||
Patch3: %{name}-disable_integration_logging.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: procps
|
||||
BuildRequires: tcl
|
||||
@ -58,6 +60,10 @@ different kind of sorting abilities.
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%ifnarch %{ix86} x86_64 ia64 %{arm}
|
||||
# We have no backtrace, so disable logging test
|
||||
%patch3 -p0
|
||||
%endif
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
|
||||
|
Loading…
Reference in New Issue
Block a user