Accepting request 140571 from Base:System

- Avoid shell comment leaking into %post. (forwarded request 140570 from zxyyz)

OBS-URL: https://build.opensuse.org/request/show/140571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=124
This commit is contained in:
Stephan Kulow 2012-11-10 15:54:21 +00:00 committed by Git OBS Bridge
commit a3788a61eb
2 changed files with 7 additions and 0 deletions

View File

@ -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 Thu Oct 25 07:30:04 UTC 2012 - aj@suse.de

View File

@ -996,11 +996,13 @@ ln -s %{_libexecdir}/getconf/getconf %{buildroot}%{_bindir}/getconf
%post -p %{_sbindir}/glibc_post_upgrade %post -p %{_sbindir}/glibc_post_upgrade
%if 0
# Enabling the following lines will generate a # Enabling the following lines will generate a
# requires on /bin/sh but glibc should not require any other binary # requires on /bin/sh but glibc should not require any other binary
# packages. Therefore we do the change with the built-in lua: # packages. Therefore we do the change with the built-in lua:
# %%verifyscript # %%verifyscript
# %%verify_permissions -e %%{_libexecdir}/pt_chown # %%verify_permissions -e %%{_libexecdir}/pt_chown
%endif
%verifyscript -p <lua> %verifyscript -p <lua>
os.execute("/usr/bin/chkstat -n --warn --system -e %{_libexecdir}/pt_chown") os.execute("/usr/bin/chkstat -n --warn --system -e %{_libexecdir}/pt_chown")