From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 19 Mar 2007 11:12:19 +0300 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20070319081219.GA5965@solemn.turbinal> Mail-Followup-To: devel@lists.altlinux.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline Subject: [devel] %___build_pre X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 08:14:28 -0000 Archived-At: List-Archive: List-Post: --gKMricLos+KVdGMg Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 14, 2007 at 03:43:47PM +0300, Alexey Tourbin wrote: > =EB=D3=D4=C1=D4=C9, =D1 =C8=CF=D4=C5=CC =C2=D9 =D7=D9=CE=C5=D3=D4=C9 =D7= =D3=C5 =D0=C9=D4=CF=CE=CF=D7=D3=CB=C9=C5 (=C1 =D4=C1=CB=D6=C5 =D0=C5=D2=CC= =CF=D7=C5) =CD=C1=CB=D2=CF=D3=D9 > =D7 =D3=CF=CF=D4=D7=C5=D4=D3=D4=D7=D5=C0=DD=C9=C5 /etc/rpm/macros.d/ =C6= =C1=CA=CC=D9. =F7 =D3=D7=D1=DA=C9 =D3 =DE=C5=CD =D7=CF=DA=CE=C9=CB=C1=C5=D4 > =D7=CF=D0=D2=CF=D3: =CB=C1=CB =C9=DA =DC=D4=C9=C8 =C6=C1=CA=CC=CF=D7 =D7= =CB=CC=C9=CE=C9=D4=D8=D3=D1 =D7 %__build_pre? =F4.=C5. =CB=C1=CB =C9=DA > /usr/lib/rpm/*/macros =D0=C5=D2=C5=CE=C5=D3=D4=C9 =D3=D4=D2=CF=DE=CB=D5 >=20 > %{?_python_lib_path:export %RPM_PYTHON_LIB_PATH=3D\"%_python_lib_= path\"}\ >=20 > =D7 /etc/rpm/macros.d/python ? =F7=DE=C5=D2=C1 =C9=DA =CF=C2=D3=D5=D6=C4=C5=CE=C9=D1 =D3 vsu =D1 =D0=CF=CE= =D1=CC, =DE=D4=CF =DC=D4=CF=C7=CF =D3=C4=C5=CC=C1=D4=D8 =CE=C5=CC=D8=DA=D1.= =F4=CF =C5=D3=D4=D8 =D0=CF =D3=D5=D4=C9 =CE=C5=CC=D8=DA=D1 =D7 /etc/rpm/macros.d/* =CE=C1=CB=C1= =D0=CC=C9=D7=C1=D4=D8 =CB=C1=CB=CF=C5-=D4=CF =DA=CE=C1=DE=C5=CE=C9=C5, =CB=CF=D4=CF=D2=CF=C5 =C2=D5=C4=C5=D4 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8= =D3=D1 =D7 %___build_pre. =EE=CF vsu =D0=D2=C5=C4=CF=CC=D6=C9=CC =C4=D2=D5=C7=D5=C0 =CE=C5=D0=CC=CF= =C8=D5=C0 =C9=C4=C5=C0, =CB=CF=D4=CF=D2=C1=D1 =D7 =CD=CF=C4=C9=C6=C9=C3=C9= =D2=CF=D7=C1=CE=CE=CF=CD =D7=C9=C4=C5 =D7=D9=C7=CC=D1=C4=C9=D4 =D4=C1=CB: --- macros- 2007-02-23 13:56:53 +0000 +++ macros 2007-03-19 07:46:10 +0000 @@ -197,6 +197,7 @@ \ export MAKEFLAGS=3D\"-w PAM_SO_SUFFIX=3D%{?_pam_so_suffix}\"\ \ + %{expand:%(cat /etc/rpm/macros.d/*.env)}\ %{verbose:set -x}%{!verbose:exec > /dev/null}\ umask 022\ %__mkdir_p %{u2p:%_builddir}\ =F0=D2=CF=D7=C5=D2=CB=C1: $ cat /etc/rpm/macros.d/foo.env %{?__rpm_foo:export RPM_FOO=3D"%__rpm_foo"} $ rpm --eval %___build_pre |grep RPM_FOO =20 $ rpm --define '__rpm_foo /usr/bin/foo' --eval %___build_pre |grep RPM_FOO export RPM_FOO=3D"/usr/bin/foo" $ =E5=D3=D4=D8 =CC=C9 =CE=C5=C4=CF=D3=D4=C1=D4=CB=C9 =D5 =DC=D4=CF=C7=CF =D0= =CF=C4=C8=CF=C4=C1? --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFF/kXjfBKgtDjnu0YRAjFVAJ0WAJb6L7gXZUKc+3DxPlUW/iOO2wCaApue nmuU4ByYsbEEO4Nv7vkMpbs= =/KTB -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--