Re: Change name of output file

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

 



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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