Change name of output file

John Wieland johnny.c.sparkles at gmail.com
Wed Jun 9 08:42:34 UTC 2010


Thanks for the tips. Unfortunately I need to have the package name conform
to an office standard naming convention and we don't specify our
architecture as just x86_64, it needs to specify linux_x64_lsb30 as we
release the same library (but packaged and built differently) on a number of
different platforms.

But I'll point this out.

Cheers,
John

On Wed, Jun 9, 2010 at 6:19 PM, Panu Matilainen <pmatilai at laiskiainen.org>wrote:

> On Wed, 9 Jun 2010, John Wieland wrote:
>
>  Hi again,
>>
>> I need to specify the name of the output file being generated by
>> rpmbuild. How would I go about doing that?
>>
>
> As already pointed out, you can change it by overriding the
> %_build_name_fmt macro defaults. But you should think twice before changing
> it - the file name has no relevance to rpm, a package is registered in the
> rpmdb by its contents, not by filename. Users generally expect the de-facto
> <name>-<version>-<release>.<arch>.rpm format and will only be annoyed if
> they install a file named "mypackage.rpm" and then discover the package is
> known as "FooBiz" in the rpmdb.
>
>        - Panu -
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100609/b538563c/attachment.html>


More information about the Rpm-list mailing list