This is an archive of the discontinued Mercurial Phabricator instance.

packaging: allow running packaging with custom uid+gid for CentOS

Authored by Mathiasdm on Jan 11 2019, 9:28 AM.



rpmbuild in CentOS 7 has a bug causing rpmbuild to fail
with "Bad owner/group" if spec or source files are owned
by a different user:

This makes it very annoying to try and build the CentOS RPMs
on CentOS with Docker.

As an alternative, this change makes it possible to do so,
using an environment variable.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Mathiasdm created this revision.Jan 11 2019, 9:28 AM
Mathiasdm updated this revision to Diff 13209.Jan 14 2019, 10:12 AM
This revision was automatically updated to reflect the committed changes.