I'm using the delightfully–named Effing Package Manager (FPM) to build RPMs and DEBs for a project.

After publishing the generated RPM with createrepo, I noted the following lines in the generated repo UUID-primary.xml.gz:

<location href="package-built-with-fpm.rpm"/>

Short of changing my hostname and user, is there a way to define these with FPM?

I've got plenty of experience building and running DEB repos, this is my first attempt at RPMs.

1 Answer 1


Typically RPM sets vendor through a build system configuration macro. The buildhost cannot be reset and was originally included in package metadata to help identify misconfigured build systems that caused "buggy" packages.

So in RPM vendor can be overridden but buildhost cannot (but you can configure a chroot with /etc/hosts to map the IP address arbitrarily).

Neither vendor/buildhost is used for much except information display, and so can be changed to anything you wish. I don't use fpm and don't know whether its possible to override using fpm.

  • Thanks for clarification regarding its use. The toolchain I'm using requires fpm, so hoping it's possible to override. Commented May 4, 2015 at 1:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .