From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 11 Sep 2006 08:00:06 +0400 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20060911040006.GA17693@localhost.localdomain> Mail-Followup-To: devel@lists.altlinux.org References: <20060910185913.GD22147@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <20060910185913.GD22147@localhost.localdomain> Subject: Re: [devel] rpm macros X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 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, 11 Sep 2006 04:00:08 -0000 Archived-At: List-Archive: List-Post: --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 10, 2006 at 10:59:13PM +0400, Alexey Tourbin wrote: > =F7=CF=D0=D2=CF=D3 =D0=CF brainfuck^W rpm macros. >=20 > =F1 =C8=CF=DE=D5 =CF=C4=C9=CE =D2=C1=DA =D0=CF=C4=CD=C5=CE=C9=D4=D8 __fin= d_requires =C9 __find_provides, =CF=D4=C4=C1=D7 =D7 > =CB=C1=DE=C5=D3=D4=D7=C5 =C1=D2=C7=D5=CD=C5=CE=D4=C1 =CE=CF=D7=CF=CD=D5 = =DA=CE=C1=DE=C5=CE=C9=C0 =D4=C5=CB=D5=DD=C5=C5 =DA=CE=C1=DE=C5=CE=C9=C5: >=20 > %fpc_global() %{?!fpc_%1:%{expand:%%global %1 %2 %%%1%%global fpc_%1 %2}} %fpc_global() %{expand:%%{?!fpc_%1:%%global %1 %2 %%%1%%global fpc_%1 %2}} =F4=C1=CB =D2=C1=C2=CF=D4=C1=C5=D4. =F0=CF-=D7=C9=C4=C9=CD=CF=CD=D5 =C9=CD= =D1 =D0=C5=D2=C5=CD=C5=CE=CE=CF=CA =D7 ?! =CE=C5 =CD=CF=D6=C5=D4 =D3=CF=C4= =C5=D2=D6=C1=D4=D8 =C5=DD=A3 =CF=C4=CE=D5 =CD=C5=D2=C5=CD=C5=CE=CE=D5=C0, =D0=D2=C9=CD=C5=D2=CE=CF =CB= =C1=CB =D7 =DB=C5=CC=CC=C5. =FA=CE=C1=DE=D4, =CE=D5=D6=C5=CE =C5=DD=A3 =CF= =C4=C9=CE eval. > %fpc_macro %([ -x %_rpmlibdir/fpc2.req ])%{fpc_global __find_requires %_r= pmlibdir/fpc2.req}%{fpc_global __find_provides %_rpmlibdir/fpc2.prov} > %fpc_dir %fpc_macro%_libdir/fpc2 > %fpc_make make RELEASE=3D1 CREATESMART=3D1 LINKSMART=3D1 FPCDIR=3D%fpc_dir >=20 > =EB =D3=CF=D6=C1=CC=C5=CE=C9=C0 =C1=D2=C7=D5=CD=C5=CE=D4=D9 =CE=C1=CB=C1= =D0=CC=C9=D7=C1=C0=D4=D3=D1 =D7 =C3=C9=CB=CC=C5: >=20 > $ rpm --eval $'%fpc_dir\n%fpc_make\n%__find_requires' =20 > /usr/lib/fpc2 > make RELEASE=3D1 CREATESMART=3D1 LINKSMART=3D1 FPCDIR=3D/usr/lib/fpc2 > /usr/lib/rpm/fpc2.req /usr/lib/rpm/fpc2.req /usr/lib/rpm/find-requires > $ --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFBN9GfBKgtDjnu0YRAu/EAJoDnSUBp+rm/dn8ytqFnzWbJ6UJSQCgn6gg NrIUe/oXh18NFPaKhGxh3Ms= =bbxE -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--