Accepting request 141378 from home:dimstar:branches:Base:System

Fix syntax error in rc.status.... I opted for 'patching the package' as gitorious is causing some odd issues.... fixes issues as posted by cartman: http://susepaste.org/view/raw/16573235

OBS-URL: https://build.opensuse.org/request/show/141378
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=419
This commit is contained in:
Ismail Dönmez 2012-11-15 09:35:19 +00:00 committed by Git OBS Bridge
parent fb4236b07a
commit 23315a971a
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: aaa_base-12.3/files/etc/rc.status
===================================================================
--- aaa_base-12.3.orig/files/etc/rc.status
+++ aaa_base-12.3/files/etc/rc.status
@@ -59,7 +59,7 @@ if test -z "$SYSTEMD_NO_WRAP" && /bin/mo
*) unset _rc_base ;;
esac
if test -n "$_rc_base" -a -x /bin/systemctl ; then
- exec /bin/systemctl $1 "${_rc_base}
+ exec /bin/systemctl $1 "${_rc_base}"
fi
unset _rc_base
fi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 15 09:04:44 UTC 2012 - dimstar@opensuse.org
- Add aaa_base-syntax-error.patch: Fix syntax error in rc.status.
-------------------------------------------------------------------
Tue Nov 13 11:12:59 UTC 2012 - ro@suse.com

View File

@ -54,6 +54,8 @@ Source: aaa_base-%{version}.tar.gz
#
Source1: README.packaging.txt
Source99: aaa_base-rpmlintrc
# PATCH-FIX-UPSTREAM aaa_base-syntax-error.patch dimstar@opensuse.org -- Fix syntax error.
Patch0: aaa_base-syntax-error.patch
%description
This package installs several important configuration files and central scripts.
@ -81,6 +83,7 @@ installed by default as it may degrade performance.
%prep
%setup -q
%patch0 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}