diff --git a/aaa_base-syntax-error.patch b/aaa_base-syntax-error.patch new file mode 100644 index 0000000..7a25420 --- /dev/null +++ b/aaa_base-syntax-error.patch @@ -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 diff --git a/aaa_base.changes b/aaa_base.changes index d246f7e..8422f72 100644 --- a/aaa_base.changes +++ b/aaa_base.changes @@ -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 diff --git a/aaa_base.spec b/aaa_base.spec index dd2db94..277411f 100644 --- a/aaa_base.spec +++ b/aaa_base.spec @@ -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}