From 0b06ab6125401a072d86ee10949a48299383bbdb593f63d5acc73d2c26a04e3a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 7 Nov 2012 15:20:31 +0000 Subject: [PATCH] Accepting request 140570 from home:zxyyz:branches:Base:System - Avoid shell comment leaking into %post. OBS-URL: https://build.opensuse.org/request/show/140570 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=225 --- glibc.changes | 5 +++++ glibc.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/glibc.changes b/glibc.changes index 2b82404..5a27821 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 7 14:59:06 UTC 2012 - schwab@suse.de + +- Avoid shell comment leaking into %post. + ------------------------------------------------------------------- Thu Oct 25 07:30:04 UTC 2012 - aj@suse.de diff --git a/glibc.spec b/glibc.spec index d957b76..c054295 100644 --- a/glibc.spec +++ b/glibc.spec @@ -996,11 +996,13 @@ ln -s %{_libexecdir}/getconf/getconf %{buildroot}%{_bindir}/getconf %post -p %{_sbindir}/glibc_post_upgrade +%if 0 # Enabling the following lines will generate a # requires on /bin/sh but glibc should not require any other binary # packages. Therefore we do the change with the built-in lua: # %%verifyscript # %%verify_permissions -e %%{_libexecdir}/pt_chown +%endif %verifyscript -p os.execute("/usr/bin/chkstat -n --warn --system -e %{_libexecdir}/pt_chown")