Mailinglist Archive: opensuse-buildservice (178 mails)

< Previous Next >
[opensuse-buildservice] Use Macro with source service?
Hi all,

I have a package that uses the download_files source service to get a file that
is listed as Source0 in the spec file. This works fine if Source0 lists the
exact filename, but not if Source0 contains a macro.

This works with the source service:

...
Source0:
http://www.kernel.org/pub/linux/kernel/projects/backports/2012/09/18/compat-drivers-2012-09-18.tar.bz2
...

This doesn't work with the source service:

...
Source0:
http://www.kernel.org/pub/linux/kernel/projects/backports/2012/09/18/compat-drivers-%(date
-d '1 day ago' +%Y-%m-%d).tar.bz2
...

Using a macro in the Source0 filename works ok if there's no source service.
So any ideas on how to make it work w/ a source service?

Thanks very much in advance,

Ann




--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages