Mailinglist Archive: opensuse-buildservice (184 mails)

< Previous Next >
Re: [opensuse-buildservice] package name substitution
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Wed, 22 Oct 2008 23:42:57 +0200
  • Message-id: <48FF9E61.8040209@xxxxxxx>
Ulf Lange napsal(a):
A slightly different topic, do you know how to change the name of the
resulting rpm in the spec file.
The rpm macro defines the rpm name like this:
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm

But I want to add the distribution name to the rpm file name, like
%{DISTRIBUTION} and the result should be: myfile-1-1.sles10.x86_64.rpm

Why don't you simply set the release to "1.0.sles10"?

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups