Re: Change name of output file

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

 



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


[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