SHA256
1
0
forked from pool/redis

Accepting request 260916 from server:database

1

OBS-URL: https://build.opensuse.org/request/show/260916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/redis?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2014-11-13 08:17:29 +00:00 committed by Git OBS Bridge
commit 6d91397740
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 09 23:34:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashisms in pre script
-------------------------------------------------------------------
Mon Jul 28 09:10:30 UTC 2014 - mrueckert@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package redis
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@ -35,8 +35,8 @@ Patch0: %{name}-initscript.patch
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch1: %{name}-conf.patch
Patch2: redis-enable-bactrace-on-x86-and-ia64-only.patch
BuildRequires: tcl
BuildRequires: procps
BuildRequires: tcl
Requires: logrotate
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -92,8 +92,8 @@ make test && true
%endif
%pre
/usr/sbin/groupadd -r %{name} &>/dev/null || :
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Redis key-value store" -d %{_data_dir} %{name} &>/dev/null || :
/usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || :
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "User for Redis key-value store" -d %{_data_dir} %{name} >/dev/null 2>&1 || :
%post
%fillup_and_insserv %{name}