Re: Is there a command to expand Source0 from spec file to the final URL?

2021-08-03 Thread Miroslav Suchý
Dne 06. 07. 21 v 18:15 Richard W.M. Jones napsal(a): Is this possible? I've got one with lots of %{macros} in it. It seems like this should be possible using rpmspec, but I can't work out how. Late addition, not yet mentioned:  rpmdev-spectool --sources foo.spec Miroslav

Re: Is there a command to expand Source0 from spec file to the final URL?

2021-08-03 Thread Panu Matilainen
On 7/6/21 7:15 PM, Richard W.M. Jones wrote: Is this possible? I've got one with lots of %{macros} in it. It seems like this should be possible using rpmspec, but I can't work out how. It's a bit hysterical, but then, this is rpm... `rpmspec --parse foo.spec|grep -i ^source0` might be the

Re: Is there a command to expand Source0 from spec file to the final URL?

2021-07-06 Thread Richard W.M. Jones
On Tue, Jul 06, 2021 at 05:20:16PM +0100, Lyes Saadi wrote: > Hello, > > It is possible, using spectool: > > spectool -s 0 path/to/specfile.spec I was looking at the wrong tool for some reason :-) Thanks all. Rich. -- Richard Jones, Virtualization Group, Red Hat

Re: Is there a command to expand Source0 from spec file to the final URL?

2021-07-06 Thread Gwyn Ciesla via devel
Does spectool -g foo.spec help? Or -f? --  Gwyn Ciesla she/her/hers   in your fear, seek only peace  in your fear, seek only love -d. bowie Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, July 6th, 2021 at 11:15

Re: Is there a command to expand Source0 from spec file to the final URL?

2021-07-06 Thread Vascom
You can use command spectool -g name.spec to download sources. вт, 6 июл. 2021 г., 19:15 Richard W.M. Jones : > > Is this possible? I've got one with lots of %{macros} in it. > > It seems like this should be possible using rpmspec, but I can't work > out how. > > Rich. > > -- > Richard Jones,

Re: Is there a command to expand Source0 from spec file to the final URL?

2021-07-06 Thread Björn 'besser82' Esser
Am Dienstag, dem 06.07.2021 um 17:15 +0100 schrieb Richard W.M. Jones: > > Is this possible?  I've got one with lots of %{macros} in it. > > It seems like this should be possible using rpmspec, but I can't work > out how. > > Rich. You can either use `spectool -l rpm.spec` to get the URL

Re: Is there a command to expand Source0 from spec file to the final URL?

2021-07-06 Thread Fabio Valentini
On Tue, Jul 6, 2021 at 6:15 PM Richard W.M. Jones wrote: > > > Is this possible? I've got one with lots of %{macros} in it. > > It seems like this should be possible using rpmspec, but I can't work > out how. There's probably dozens of ways of doing this, but using spectool is very easy:

Re: Is there a command to expand Source0 from spec file to the final URL?

2021-07-06 Thread Lyes Saadi
Hello, It is possible, using spectool: spectool -s 0 path/to/specfile.spec Le 06/07/2021 à 17:15, Richard W.M. Jones a écrit : Is this possible? I've got one with lots of %{macros} in it. It seems like this should be possible using rpmspec, but I can't work out how. Rich.

Is there a command to expand Source0 from spec file to the final URL?

2021-07-06 Thread Richard W.M. Jones
Is this possible? I've got one with lots of %{macros} in it. It seems like this should be possible using rpmspec, but I can't work out how. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: