Re: spectool-1.0.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 10, 2004 at 11:25:24PM +0100, Nils Philippsen wrote:
> On Wed, 2004-03-10 at 20:26, James Olin Oden wrote:
> > On Wed, 10 Mar 2004, Jos?? Pedro Oliveira wrote:
> > 
 
> Basically it doesn't matter which language it is written in -- I already
> thought about redoing it in python, not because I don't like perl, but
> rather because I often fall into the pits of perl's subtleties. I
> initially chose perl because it was a quick one-evening hack and perl is
> really yummy for pattern matching.

This is what I've got atm, I'm just about to ci to HEAD, but I'm happy
for feedback on what people want from sources - atm it's a tuple of
(fullPath, num, flags), but this is still under development so happy to
accomodate somewhat.

[GCC 3.3.2 20040119 (Red Hat Linux 3.3.2-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpm
>>> ts=rpm.ts()
>>> spec=ts.parseSpec("rpm.spec")
>>> spec.sources()
(('ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-4.3.tar.gz', 0, 1),)

Paul


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux