SHA256
6
0
forked from pool/rpm

- remove the macros that were documented to be removed january 2013:

%run_permissions, use %set_permissions instead
  %run_suseconfig, SuSEconfig is gone
  %suse_update_config

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=247
This commit is contained in:
Stephan Kulow
2013-01-10 12:05:35 +00:00
committed by Git OBS Bridge
parent a8f8f052cb
commit d8f9c1315a
3 changed files with 10 additions and 22 deletions

View File

@@ -66,17 +66,6 @@
%is_plus %(if test -f /.buildenv ; then source /.buildenv ; if [[ "$BUILD_BASENAME" == *+kde ]] ; then echo 1 ; else echo 0 ; fi ; else echo 0 ; fi)
# deprecated, use %set_permissions instead
%run_permissions() \
echo "WARNING: run_permissions is obsolete and will be removed january 2013"
echo "use set_permissions (available since 11.4) with a file argument"
if test "$YAST_IS_RUNNING" != "instsys" ; then \
if [ -x /usr/bin/chkstat ]; then \
/usr/bin/chkstat -n --set --system \
fi \
fi \
%nil
%set_permissions(f:) \
if [ -x /usr/bin/chkstat ]; then \
/usr/bin/chkstat -n --set --system %{**} \
@@ -87,17 +76,6 @@
/usr/bin/chkstat -n --warn --system %{**} 1>&2 \
%nil
%run_suseconfig(m:) \
%{!-m:echo -e "\\nERROR: missing parameter for macro run_suseconfig\\n" ; exit 1 ; } \
echo "WARNING: run_suseconfig is obsolete (as is SUSEconfig) and the macro will be removed in january 2013" \
echo "It will be a nop as SUSEconfig is gone" \
%nil
# %{suse_update_config [-fcl] [dirs...]}
%suse_update_config(fcl) \
echo 'WARNING: REMOVE %%suse_update_config. The macro will be removed in january 2013' \
%nil
%suse_update_libdir() \
if [ %_lib != lib ]; then \
for file in %{?*} ; do \