This is an archive of the discontinued Mercurial Phabricator instance.

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

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

Details

Summary

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: https://github.com/rpm-software-management/rpm/issues/2

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

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

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.