From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 28 Aug 2007 11:17:45 +0400 From: "Dmitry V. Levin" To: Aleksey Morozov Message-ID: <20070828071745.GE11307@basalt.office.altlinux.org> Mail-Followup-To: Aleksey Morozov , ALT Devel discussion list References: <20070827230030.B25761CB4675@ssh.git.local.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qz2CZ664xQdCRdPu" Content-Disposition: inline In-Reply-To: <20070827230030.B25761CB4675@ssh.git.local.altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Cc: ALT Devel discussion list Subject: Re: [devel] [git update] packages/gear: tags/compound_subst_stable 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: Tue, 28 Aug 2007 07:17:45 -0000 Archived-At: List-Archive: List-Post: --Qz2CZ664xQdCRdPu Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 28, 2007 at 03:00:30AM +0400, Aleksey Morozov wrote: > Update of /people/morozov/packages/gear.git [...] > Full diff since `1.2.5-alt1' follows: [...] > --- a/gear-sh-functions.in > +++ b/gear-sh-functions.in [...] > get_NVR_from_spec() > { > local spec=3D"$1" && shift > + local arg=3D${rpm_rclist:--q} # extra -q does't affect anything > =20 > - spec_name=3D"$(sed '/^name:[[:space:]]*/I!d;s///;q' "$spec")" > - spec_version=3D"$(sed '/^version:[[:space:]]*/I!d;s///;q' "$spec")" > - spec_release=3D"$(sed '/^release:[[:space:]]*/I!d;s///;q' "$spec")" > + spec_name=3D$($RPM "$arg" -q --qf '%{NAME}' --specfile "$spec") > + spec_version=3D$($RPM "$arg" -q --qf '%{VERSION}' --specfile "$spec") > + spec_release=3D$($RPM "$arg" -q --qf '%{RELEASE}' --specfile "$spec") =FC=D4=CF =C9=DA=CD=C5=CE=C5=CE=C9=C5 =D0=D2=CF=D4=C9=D7=CF=D2=C5=DE=C9=D4 = =C1=D2=C8=C9=D4=C5=CB=D4=D5=D2=C5 gear. rpmquery --specfile =C4=C1=A3=D4 =D7=CF=DA=CD=CF=D6=CE=CF=D3=D4=D8 =D7=D9= =D0=CF=CC=CE=C9=D4=D8 =D0=D2=CF=C9=DA=D7=CF=CC=D8=CE=D9=CA =CB=CF=C4. --=20 ldv --Qz2CZ664xQdCRdPu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG08wZfKvmrJ41Nh4RAmaZAJ9DvWQ24IM+UY+MtDh52gvA9t44qgCeOt7C Bar6w4cyE1xW9+tJCm3Dtks= =3mNm -----END PGP SIGNATURE----- --Qz2CZ664xQdCRdPu--