From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00, DNS_FROM_OPENWHOIS,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=TwiPDQXqa9F4ch21K5oofWckRq6xAa0SEk5DKzsgy/I=; b=b6DOBMbg4kql22fD/oAs2rMT03dCd6iabjtKGUVto1nG+dVITaJdR3UwxXWdNBCA5G JTvnxGX1sSdEHSRQJzszjXiRVpGj83OYBrAF5SfRAdDX3u5JjfSqJTc++UhBrD65hNex 6luHRY5bTx2lEvq8AtitTwRuWWKRQXfDcfJdo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=LkWK/xvhQUtvRujQprPNko7DgpXXMzX7BbLqV+yXQuKEk4gBWenl76pxQB+hZ8aX8K MTRt60JlNwdczNPGYW1vSWt95S6jpuLsRiokmnKxBsmNZtGLe0cmgunkN7BdEUz8MQsw oDI3wvuLf83O/ZJP5KQal6Cjn0/5ndxiwv+y4= MIME-Version: 1.0 Date: Mon, 11 Oct 2010 11:14:03 +0300 Message-ID: From: Igor Zubkov To: ALT Linux Team development discussions Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Subject: [devel] broken ruby-rpm? 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: Mon, 11 Oct 2010 08:14:10 -0000 Archived-At: List-Archive: List-Post: Hi! $ cat 1.rb require 'rpm' file =3D "padevchooser-0.9.3-alt3.src.rpm" rpm =3D RPM::Package::open(file) puts rpm.changelog.count rpm.changelog.each do |c| puts c.name.inspect puts c.text.inspect begin puts c.time rescue ArgumentError puts "Bad Argument" end end $ ruby 1.rb 3 "Igor Zubkov 0.9.3-alt3" "- apply patch from repocop" Bad Argument "Igor Zubkov 0.9.3-alt2" "- fix desktop file\n- buildreq" Bad Argument "Igor Zubkov 0.9.3-alt1" "- Initial build for Sisyphus" Bad Argument $ =FC=D4=CF =CE=C1 ruby 1.8.7 EE =D0=CF=D3=D4=C1=D7=CC=C5=CE=CE=D9=CA =DE=C5= =D2=C5=DA rvm. $ /usr/bin/ruby 1.rb 3 "Igor Zubkov 0.9.3-alt3" "- apply patch from repocop" 165467921207-03-18 19:00:00 +0300 "Igor Zubkov 0.9.3-alt2" "- fix desktop file\n- buildreq" 261302899890-02-16 12:50:56 +0300 "Igor Zubkov 0.9.3-alt1" "- Initial build for Sisyphus" 74125651477-04-07 11:52:00 +0400 $ /usr/bin/ruby -v ruby 1.9.2p0 (2010-08-18) [x86_64-linux-gnu] $ =FC=D4=CF =D3 =D7=C5=D2=D3=C9=C5=CA =C9=DA =F3=C9=DA=C9=C6=C1. =EE=C1 =CC= =C9=C3=CF =C2=C1=C7 =CF=C2=D2=C1=C2=CF=D4=CB=C9 =D0=CF=CC=D1 time =C9=DA %changelog. =F0=CF=CD=CF=C7=C9=D4=C5 =D0=CF=DE=C9=CE=C9=D4=D8. =FC=D4=CF = =CD=C5=DB=C1=C5=D4 =D0=CF=D1=D7=CC=C5=CE=C9=D1 =D0=CF=CC=CE=CF=CA =D0=CF=C4= =C4=C5=D2=D6=CB=C9 /:locale/srpm/:Branch/changelog =D7 prometheus2.0. --=20 Igor Zubkov http://hi.im/ice