From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Date: Sun, 23 Mar 2008 16:34:10 +0200 From: Michael Shigorin To: devel@lists.altlinux.org Message-ID: <20080323143410.GL9721@osdn.org.ua> Mail-Followup-To: devel@lists.altlinux.org References: <20080322230613.GA7910@granary.armor.altlinux.org> <20080323015142.GQ31135@solemn.turbinal> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4ZLFUWh1odzi/v6L" Content-Disposition: inline In-Reply-To: <20080323015142.GQ31135@solemn.turbinal> User-Agent: Mutt/1.4.2.1i Subject: Re: [devel] /usr/lib64/consolehelper/helper (full list of x86_64 unmets) X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 14:34:11 -0000 Archived-At: List-Archive: List-Post: --4ZLFUWh1odzi/v6L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Mar 23, 2008 at 04:51:42AM +0300, Alexey Tourbin wrote: > -%__ln_s %_libdir/consolehelper/helper %buildroot%_bindir/gtk%name > +%__ln_s %_libexecdir/consolehelper/helper %buildroot%_bindir/gtk%name -%__ln_s +ln -s -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/ --4ZLFUWh1odzi/v6L Content-Type: application/x-sh Content-Disposition: attachment; filename="un__.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A# a script to clean up RPM %__macro abuse =0A# (those are actua= lly rpm's _internal_ macros, =0A# not intended for direct usage in specs an= d=0A# in fact cluttering them up without any bonus)=0A# 2006 by Michael Shi= gorin =0A# 2007 by evg@altlinux=0A# use freely=0A=0Afata= l()=0A{=0A echo "$0: $*" >&2=0A exit 1=0A}=0A=0A[ -s "$1" ] || fatal "gimme= a spec!"=0A=0Agrep -q '^[^#]*%__' "$1" || exit 2=0A=0ATMPSPEC=3D`mktemp $1= .XXXXXX` || fatal "unable to create temporary file"=0A=0Ased \=0A -e 's@%__= awk@gawk@g' \=0A -e 's@%__bzip2@bzip2@g' \=0A -e 's@%__cat@cat@g' \=0A -e '= s@%__chgrp@chgrp@g' \=0A -e 's@%__chmod@chmod@g' \=0A -e 's@%__chown@chown@= g' \=0A -e 's@%__cp@cp@g' \=0A -e 's@%__cpio@cpio@g' \=0A -e 's@%__file@fil= e@g' \=0A -e 's@%__gpg@gpg@g' \=0A -e 's@%__grep@grep@g' \=0A -e 's@%__gzip= @gzip@g' \=0A -e 's@%__id@id@g' \=0A -e 's@%__install@install@g' \=0A -e 's= @%__install_info@install-info@g' \=0A -e 's@%__ln_s@ln -s@g' \=0A -e 's@%__= make@make@g' \=0A -e 's@%__mkdir_p@mkdir -p@g' \=0A -e 's@%__mkdir@mkdir@g'= \=0A -e 's@%__mv@mv@g' \=0A -e 's@%__patch@patch@g' \=0A -e 's@%__perl@per= l@g' \=0A -e 's@%__pgp@pgp@g' \=0A -e 's@%__python@python@g' \=0A -e 's@%__= rm@rm@g' \=0A -e 's@%__rsh@rsh@g' \=0A -e 's@%__sed@sed@g' \=0A -e 's@%__ss= h@ssh@g' \=0A -e 's@%__subst@sed -i@g' \=0A -e 's@%__tar@tar@g' \=0A -e 's@= %__unzip@unzip@g' \=0A -e 's@%__ar@ar@g' \=0A -e 's@%__as@as@g' \=0A -e 's@= %__cc@gcc@g' \=0A -e 's@%__cpp@gcc -E@g' \=0A -e 's@%__cxx@g++@g' \=0A -e '= s@%__ld@ld@g' \=0A -e 's@%__nm@nm@g' \=0A -e 's@%__objcopy@objcopy@g' \=0A = -e 's@%__objdump@objdump@g' \=0A -e 's@%__ranlib@ranlib@g' \=0A -e 's@%__st= rip@strip@g' \=0A -e 's@%__libtoolize@libtoolize@g' \=0A -e 's@%__aclocal@a= clocal@g' \=0A -e 's@%__autoheader@autoheader@g' \=0A -e 's@%__automake@aut= omake@g' \=0A -e 's@%__autoconf@autoconf@g' \=0A < "$1" > "$TMPSPEC" \=0A&&= add_changelog -e '- spec macro abuse cleanup' "$TMPSPEC" ||:=0Amv "$1" "$1= .bak" \=0A&& mv "$TMPSPEC" "$1"=0A#echo "please inspect $TMPSPEC for cleane= d up version" =0A=0A# changelog=0A# 2006-12-16: initial release=0A# 2006-12= -18: minor fixes:=0A# + %__mkdir was replaced before %__mkdir_p= =0A# + %__subst is now replaced with sed -i (tnx wrar@)=0A --4ZLFUWh1odzi/v6L--