]> git.pld-linux.org Git - packages/redis.git/blobdiff - redis.spec
patch to make arm arch check more consistent
[packages/redis.git] / redis.spec
index 8234c1a8883be1dc6bf28c194157e76d6a8b2fde..3ee5a25755a9fa4abcb8e018d59ee757f532d523 100644 (file)
 
 Summary:       A persistent key-value database
 Name:          redis
-Version:       5.0.0
+Version:       6.2.5
 Release:       1
 License:       BSD
 Group:         Applications/Databases
 Source0:       http://download.redis.io/releases/%{name}-%{version}.tar.gz
-# Source0-md5: c3010fcb5cd370778430bb4f2cd8dcd8
+# Source0-md5: db8a2b45eafbf1ead4353044fb70f581
 Source1:       %{name}.logrotate
 Source2:       %{name}.init
 Source3:       %{name}.tmpfiles
 Patch0:                %{name}.conf.patch
 Patch1:                %{name}-tcl.patch
 Patch2:                0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch
-Patch3:                0002-install-redis-check-rdb-as-a-symlink-instead-of-dupl.patch
+Patch3:                arm-arch-check.patch
 URL:           http://www.redis.io/
 %{?with_perftools:BuildRequires:    gperftools-devel}
 BuildRequires: jemalloc-static
+%ifarch %{arm}
+BuildRequires: libatomic-devel
+%endif
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpmbuild(macros) >= 1.202
 BuildRequires: sed >= 4.0
@@ -93,7 +96,7 @@ ln -s %{_includedir} deps/jemalloc/include
 
 %build
 %define specflags -std=c99 -pedantic
-%define _make_opts CC="%{__cc}" CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" OPTIMIZATION="" DEBUG="" V=1
+%define _make_opts CC="%{__cc}" CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" OPTIMIZATION="" DEBUG="" V=1 uname_M=%{_target_cpu}
 
 %{__make} -C src all
 
This page took 0.105646 seconds and 4 git commands to generate.