From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 1 Aug 2006 20:43:59 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20060801164359.GA8199@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20060526234747.GA25071@nomad.office.altlinux.org> <20060801141223.GC73814@grep.po.cs.msu.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <20060801141223.GC73814@grep.po.cs.msu.su> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] IA: %setup_std_python_package_deps broken 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: Tue, 01 Aug 2006 16:43:59 -0000 Archived-At: List-Archive: List-Post: --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 01, 2006 at 06:12:26PM +0400, Fr. Br. George wrote: > On Sat, May 27, 2006 at 03:47:47AM +0400, Dmitry V. Levin wrote: > > %setup_std_python_package_deps() \ > > %{expand: %%{!?modulename:%%_setup_python_module_internal %{*}}} \ > > %(echo "Requires: python =3D %__python_version") \ > > %(echo "BuildPreReq: python-devel =3D %__python_version") \ > > %(echo "BuildPreReq: rpm-build-python >=3D 0.8") \ > > %(echo "Provides: python%__python_version-module-%modulename =3D > > %%version-%release") \ > > %nil > >=20 > > =E4=CC=D1 =D2=C1=C2=CF=D4=D9 =CD=C1=CB=D2=CF=D3=C1 %setup_std_python_pa= ckage_deps > > =CE=D5=D6=C5=CE =D2=C1=C2=CF=DE=C9=CA python, =CE=CF =C4=CC=D1 =C6=D5= =CE=CB=C3=C9=CF=CE=C9=D2=CF=D7=C1=CE=C9=D1 =D0=C1=CB=C5=D4=C1 rpm-build-pyt= hon > > =D2=C1=C2=CF=DE=C9=CA python =CE=C5 =CF=C2=D1=DA=C1=D4=C5=CC=C5=CE. > =F7 =DE=A3=CD =D7=D9=D2=C1=D6=C1=C5=D4=D3=D1 "=E4=CC=D1 =D2=C1=C2=CF=D4= =D9 =CD=C1=CB=D2=CF=D3=C1 %setup_std_python_package_deps > =CE=D5=D6=C5=CE =D2=C1=C2=CF=DE=C9=CA python"? =F7 =D4=CF=CD, =DE=D4=CF = =CE=C1=D0=C9=D3=C1=CE=CF "BuildPreReq: python-devel"? > =E9=CC=C9 _setup_python_module_internal =D2=C1=D3=CB=D2=D9=D7=C1=C5=D4=D3= =D1 =D7=CF =DE=D4=CF-=D4=CF, =CE=C1 =D3=C1=CD=CF=CD =C4=C5=CC=C5 > =DA=C1=D0=D5=D3=CB=C1=C0=DD=C5=C5 python? =ED=CF=D6=C5=D4, =DE=C5=CC=CF= =D7=C5=CB =D0=D2=CF=D3=D4=CF BuildPreReq: =D3 BuildReq: > =D0=C5=D2=C5=D0=D5=D4=C1=CC? =ED=C1=CB=D2=CF=D3 %setup_std_python_package_deps =D0=D2=C9 =D2=C1=D3=CB=D2= =D9=D4=C9=C9 =DA=C1=D0=D5=D3=CB=C1=C5=D4 python. =F0=CF=DC=D4=CF=CD=D5, =C5=D3=CC=C9 =D7 =D3=C2=CF=D2=CF=DE=CE=CF=CA =D3=D2= =C5=C4=C5 =CE=C5 =D5=D3=D4=C1=CE=CF=D7=CC=C5=CE python, =D4=CF =D3=C2=CF=D2= =CF=DE=CE=D9=C5 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 =D0=C1=CB=C5=D4=C1 =D7 =D2=C5=DA=D5=CC=D8= =D4=C1=D4=C5 =D2=C1=C2=CF=D4=D9 %setup_std_python_package_deps =C2=D5=C4=D5=D4 =D4=C1=CB=C9=CD=C9, =DE=D4=CF =C9=C8 =C2=D5=C4=C5=D4 =CE=C5= =D7=CF=DA=CD=CF=D6=CE=CF =D5=C4=CF=D7=CC=C5=D4=D7=CF=D2=C9=D4=D8. =E5=D3=D4=D8 =D0=D2=CF=D3=D4=CF=CA =D4=C5=D3=D4, =D2=C5=C1=CC=C9=DA=CF=D7= =C1=CE=CE=D9=CA =D7 hasher'e: =D0=CF=D3=CC=C5 =D5=D3=D4=C1=CE=CF=D7=CB=C9 =D7 =C2=C1=DA=CF=D7=D5=C0 =D3= =C2=CF=D2=CF=DE=CE=D5=C0 =D3=D2=C5=C4=D5 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5= =CA, =D0=CF=CC=D5=DE=C1=C5=CD=D9=C8 =D3 =D0=CF=CD=CF=DD=D8=C0 =CF=D0=C5=D2=C1=C3=C9=C9 $ sed '/^buildrequires(pre):[[:space:]]*/I!d;s///' =C6=C1=CA=CC.spec =CF=D0=C5=D2=C1=C3=C9=D1 $ rpmbuild -bE =C6=C1=CA=CC.spec | sed '/^\(buildrequires\|buildprereq\)\(([^[:space:]):]*)\)\?:[[:space:]]*/= I!d;s///' =CE=C5 =C4=CF=CC=D6=CE=C1 =D7=D9=D7=CF=C4=C9=D4=D8 =CE=C5=D5=D3=D4=C1=CE=C1= =D7=CC=C9=D7=C1=C5=CD=D9=C8 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA. =E5=D3=CC=C9 =DC=D4=CF =D5=D3=CC=CF=D7=C9=C5 =CE=C5 =D7=D9=D0=CF=CC=CE=C5= =CE=CF, =D4=CF spec-=C6=C1=CA=CC =CE=C5 =D0=CF=C4=CC=C5=D6=C9=D4 =CF=C2=D2= =C1=C2=CF=D4=CB=C5 =D3 =D0=CF=CD=CF=DD=D8=C0 hasher+gear. --=20 ldv --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEz4TPfKvmrJ41Nh4RAuIjAKCgVIAZknvupF29VuaViJ4asWl9jQCgjx8q 80RqVWRAUMtbvrWehiJIfBQ= =KexF -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--