commit redis for openSUSE:Factory

2012-02-29 Thread h_root
Hello community,

here is the log from the commit of package redis for openSUSE:Factory checked 
in at 2012-02-29 14:11:11

Comparing /work/SRC/openSUSE:Factory/redis (Old)
 and  /work/SRC/openSUSE:Factory/.redis.new (New)


Package is "redis", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/redis/redis.changes  2011-11-28 
18:27:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.redis.new/redis.changes 2012-02-29 
14:11:13.0 +0100
@@ -1,0 +2,14 @@
+Thu Nov 24 09:56:41 UTC 2011 - sasc...@suse.de
+
+- Correct the 'how to get it running' comment in %post
+
+---
+Thu Nov 24 09:48:13 UTC 2011 - sasc...@suse.de
+
+- Don't use runlevel 4 in init script
+- Compile with RPM_OPT_FLAGS (PROG env var didn't cut it)
+- Remove outdated %clean section, bogus doc package (there are none)
+  and netcat runtime dependency (for init script?)
+- Set license to SDPX style
+
+---



Other differences:
--
++ redis.spec ++
--- /var/tmp/diff_new_pack.onIDC8/_old  2012-02-29 14:11:14.0 +0100
+++ /var/tmp/diff_new_pack.onIDC8/_new  2012-02-29 14:11:14.0 +0100
@@ -1,3 +1,4 @@
+#
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,35 +13,30 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
-%define _data_dir   %{_var}/lib/%{name}
-%define _log_dir%{_var}/log/%{name}
+%define _data_dir   %{_localstatedir}/lib/%{name}
+%define _log_dir%{_localstatedir}/log/%{name}
 
 Name:   redis
 Version:2.4.1
-Release:1
-#
-License:BSD License
-Group:  Productivity/Databases/Servers
+Release:0
+License:BSD-3-Clause
 Summary:Persistent key-value database
 Url:http://redis.io/
-#
+Group:  Productivity/Databases/Servers
 Source: http://redis.googlecode.com/files/%{name}-%{version}.tar.gz
 Source1:%{name}.logrotate
 Source4:redis.sysconfig
-#
+# PATCH-FIX-OPENSUSE -- openSUSE-style init script
 Patch0: %{name}-initscript.patch
+# PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1: %{name}-conf.patch
+# PATCH-FIX-UPSTREAM -- Fixed AOF: Server should have been started: Expected 
'1' to equal or match '0'
 Patch2: skip-aof-test.patch
-#
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# for init script
-Requires:   netcat
-Requires:   logrotate
-
 # for make test
 BuildRequires:  tcl
+Requires:   logrotate
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Redis is an advanced key-value store. It is similar to memcached but the 
dataset
@@ -50,61 +46,38 @@
 side union, intersection, difference between sets, and so forth. Redis supports
 different kind of sorting abilities.
 
-%package doc
-Summary:HTML documentation for redis
-Group:  Productivity/Databases/Servers
-Requires:   redis = %{version}
-
-%description doc
-HTML documentation for redis database.
-
 %prep
 %setup -q
 %patch0
 %patch1
-
-# skip-aof-test.patch
-# Failures: - Fixed AOF: Server should have been started: Expected '1' to 
equal or match '0'
 %patch2 -p1
 
-# Documents are not available in this build
-#mv doc html
-
 %build
-make PROF="%{optflags}" %{?jobs:-j%jobs}
+CFLAGS="%{optflags}" make %{?_smp_mflags}
 
 %install
-%{__install} -Dd -m 0755  \
-%{buildroot}%{_sysconfdir}/init.d \
-%{buildroot}%{_sysconfdir}/logrotate.d\
-%{buildroot}%{_bindir}\
-%{buildroot}%{_libdir}\
-%{buildroot}%{_sbindir}   \
-%{buildroot}%{_log_dir}   \
-%{buildroot}%{_data_dir}
-
-%{__install} -m 0755 src/redis-benchmark  
%{buildroot}%{_bindir}/redis-benchmark
-%{__install} -m 0755 src/redis-cli%{buildroot}%{_bindir}/redis-cli
-%{__install} -m 0755 src/redis-check-dump 
%{buildroot}%{_bindir}/redis-check-dump
-%{__install} -m 0755 src/redis-check-aof  
%{buildroot}%{_bindir}/redis-check-aof
-%{__install} -m 0755 src/redis-server %{buildroot}%{_sbindir}/redis-server
-%{__install} -m 0640 redis.conf   %{buildroot}%{_sysconfdir}/redis.conf
-## %{__install} -Dp -m 0755 %{SOURCE4} 
%{buildroot}%{_sysconfdir}/sysconfig/redis
+install -d %{buildroot}%{_log_dir} %{buildroot}%{_data_dir}
+
+install -D -m 0755 src/redis-benchmark  %{buildroot}%{_bindir}/redis-benchmark
+install -m 0755 src/redis-cli   %{buildroot}%{_bindir}

commit redis for openSUSE:Factory

2012-03-26 Thread h_root
Hello community,

here is the log from the commit of package redis for openSUSE:Factory checked 
in at 2012-03-26 11:05:56

Comparing /work/SRC/openSUSE:Factory/redis (Old)
 and  /work/SRC/openSUSE:Factory/.redis.new (New)


Package is "redis", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/redis/redis.changes  2012-02-29 
14:11:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.redis.new/redis.changes 2012-03-26 
11:05:58.0 +0200
@@ -1,0 +2,6 @@
+Fri Mar 23 13:35:46 UTC 2012 - dval...@suse.com
+
+- fix ppc and ppc64 build.
+  disable tests for powerpc for now
+
+---

New:

  redis-endian.patch



Other differences:
--
++ redis.spec ++
--- /var/tmp/diff_new_pack.s0hVFE/_old  2012-03-26 11:05:59.0 +0200
+++ /var/tmp/diff_new_pack.s0hVFE/_new  2012-03-26 11:05:59.0 +0200
@@ -1,5 +1,7 @@
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# spec file for package redis
+#
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -9,7 +11,7 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
@@ -20,10 +22,10 @@
 Name:   redis
 Version:2.4.1
 Release:0
-License:BSD-3-Clause
 Summary:Persistent key-value database
-Url:http://redis.io/
+License:BSD-3-Clause
 Group:  Productivity/Databases/Servers
+Url:http://redis.io/
 Source: http://redis.googlecode.com/files/%{name}-%{version}.tar.gz
 Source1:%{name}.logrotate
 Source4:redis.sysconfig
@@ -33,6 +35,7 @@
 Patch1: %{name}-conf.patch
 # PATCH-FIX-UPSTREAM -- Fixed AOF: Server should have been started: Expected 
'1' to equal or match '0'
 Patch2: skip-aof-test.patch
+Patch3: redis-endian.patch
 # for make test
 BuildRequires:  tcl
 Requires:   logrotate
@@ -51,6 +54,7 @@
 %patch0
 %patch1
 %patch2 -p1
+%patch3 -p1
 
 %build
 CFLAGS="%{optflags}" make %{?_smp_mflags}
@@ -78,6 +82,7 @@
 install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
 
 %check
+%ifnarch ppc ppc64
 cat