From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 16 Jan 2019 16:15:03 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20190116131503.GA23636@altlinux.org> References: <20190116060023.9FC269A2FBD@gyle.altlinux.org> <7456397.pxH1shzaRA@zerg.malta.altlinux.ru> <20190116093850.vocl5cx5uqcrnpyp@titan.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20190116093850.vocl5cx5uqcrnpyp@titan.localdomain> Subject: Re: [devel] hsh-rebuild --query-repackage X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 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: Wed, 16 Jan 2019 13:15:04 -0000 Archived-At: List-Archive: List-Post: --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 16, 2019 at 01:38:50PM +0400, Ivan A. Melnikov wrote: > On Wed, Jan 16, 2019 at 12:29:50PM +0300, Sergey V Turchin wrote: > > On Wednesday, 16 January 2019 12:22:19 MSK Ivan Zakharyaschev wrote: > >=20 > > [...] > > > =EE=C5=D4, =DC=D4=CF=D4 =CB=C1=CB-=D4=CF =D7=D9=DA=D7=C1=CE=CF %ubt, = =C1 =CE=C5 =CE=C5=CF=C2=D2=C1=C2=CF=D4=CB=CF=CA glob-=CF=D7 =D7 rpm. > > =F7=CF=DA=CD=CF=D6=CE=CF, =D0=D2=CF=C4=CF=CC=D6=C5=CE=C9=C5 > > https://lists.altlinux.org/pipermail/devel/2018-October/205623.html > > =20 > > > =E9=D3=C8=CF=C4=CE=D9=CA =D0=C1=CB=C5=D4 =C8=D2=C1=CE=C9=CC=D3=D1 =CB= =C1=CB bird-1.6.4-alt1.S1 , =C1 =D0=CF=D3=CC=C5 =CF=C2=D2=C1=C2=CF=D4=CB=C9= =D3=D4=C1=CC > > > =C2=C5=DA .S1. > >=20 > > [...] >=20 > =E4=C1, =DC=D4=CF =CF=CE=CF. >=20 > =FE=C1=D3=D4=D8 1: https://lists.altlinux.org/pipermail/devel/2018-Octobe= r/205623.html > =FE=C1=D3=D4=D8 2: https://lists.altlinux.org/pipermail/devel/2018-Novemb= er/205788.html > =FE=C1=D3=D4=D8 3: https://bugzilla.altlinux.org/35828 > =FE=C1=D3=D4=D8 4: =DC=D4=CF=D4 =D4=D2=C5=C4. >=20 > =F4=C5=D0=C5=D2=D8 =D7=D3=C5 =D0=C1=CB=C5=D4=D9, =D3=CF=C2=D2=C1=CE=CE=D9= =C5 =D3 =D2=C5=CC=C9=DA=CF=CD, =DA=C1=CB=C1=CE=DE=C9=D7=C1=C0=DD=C9=CD=D3= =D1 =CE=C1 %ubt, > =C4=CF =C2=C1=CE=C1 %ubt, =D7=CD=C5=D3=D4=CF =D4=CF=C7=CF, =DE=D4=CF=C2= =D9 =D0=C5=D2=C5=D3=CF=C2=C9=D2=C1=D4=D8=D3=D1 =D3 =D0=CF=D4=C5=CE=C3=C9=C1= =CC=D8=CE=CF > =CE=C5=D0=CF=CC=CE=D9=CD =CE=C1=C2=CF=D2=CF=CD =DA=C1=D7=C9=D3=C9=CD=CF= =D3=D4=C5=CA, =CE=C5 =D0=C5=D2=C5=D3=CF=C2=C9=D2=C1=C0=D4=D3=D1. >=20 > =E9=CE=D4=D2=C9=C7=C1. hsh-rebuild --query-repackage =C4=C5=CC=C1=C5=D4 =D3=CC=C5=C4=D5=C0=DD=C5= =C5: make_srpm_from_pkgtar '"$HOME/in/nosrpm"' # The repackaged in/nosrpm/*.(no)src.rpm is # only used to query the build dependencies; # the original in/srpm/*.src.rpm is used for the final rebuild. # It may seem that if the build dependencies have shrunk # after repackaging, then the final build could fail because # the original srpm would list more build dependencies. # This is not a problem, however, because rpmbuild --rebuild # calculates correctly the new set of build deps; # --nodeps is not needed for it to work properly. cat >chroot/.host/query_req <<__EOF__ #!/bin/sh -e cd "\$HOME/in/nosrpm" rpmquery -pR -- "\${@%.src.rpm}".*src.rpm __EOF__ =E4=CC=D1 =D4=CF=C7=CF, =DE=D4=CF=C2=D9 =D7 =DC=D4=CF=CD =CB=CF=C4=C5 =DA= =C1=CD=C5=CE=C9=D4=D8 =DC=D4=D5 =D6=A3=D3=D4=CB=D5=C0 =CB=CF=CE=D3=D4=D2=D5= =CB=C3=C9=C0 =CE=C1 =DE=D4=CF-=D4=CF =CD=C5=CE=C5=C5 =D6=C5=D3=D4=CB=CF=C5, =CE=C1=D0=D2= =C9=CD=C5=D2, *src.rpm, =CE=C1=C4=CF =CF=DE=C9=DD=C1=D4=D8 "$HOME/in/nosrpm" =CB=C1=D6=C4=D9=CA =D2=C1=DA =D0=C5=D2=C5=C4 =DA=C1=D0=CF= =CC=CE=C5=CE=C9=C5=CD. =EB=C1=CB =C4=D5=CD=C1=C5=D4=C5? --=20 ldv --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJcPy5XAAoJEAVFT+BVnCUI1JMP/3lOsa1Cix0AbS6cdhW7DM6K 5DlwtMNOPDhrsrO4J0LLHQ0YmqWCYUyYm0L+dhjzmC3aSpLQL0sMYIgV7Tat6c9L d4B5nu60+THxYsiKVxaeTzpE6wuOE98UL2RjrslbLNpFAn+JRZVjyx3d5Ugj3ZFa axgruuidTqN8kjI/rN9eEaDf+CRI+agsqVRbJLfqRU8iHtyUyE0W50A0tEopwuU6 u5U/fDA2748pVNcFj8X+2HHgJLV0oKZDowVL4/uZtnDxU8r040JOyhpZqcIjgtCt J+In1jXMGStT+GZeCI9fk9lXH+sr+x0GFfHdjHjjg5Kkz/Zgv8MvFPnWULeio8aR i4jopTDLUkstEVRO7h+pyDWRRi4ETPy+PEIDRUyXQmwDuv6VDcKules2dWiTIFs3 FSxIQwMx86PsHocgDKf2XdiQY8xSI0jC/gaTAXsyZBSVGL5FU4sGoJn+6+XUy7Lk 1z/PiFwDWAnW8yfQBC0nioZDGEbk/s31SfWDMlXP3RvhteIf+q2ROcDHNyW4Ccij hB23Z3D6IwFuOQmUxzdJ0GV7gq8nlwioSNYG/PYXFVXrvU1Prpx3HUnLsMEw+j0X Cg21dDChHH0IHngwcYgfMZXVb++FH/EtB57qU7yzfbDezzUFeCrfcs+1egR5fqIG wIRmce6Qc8gQzvgmeWpN =GHrs -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--