[CentOS-devel] Building a package for RedHat

Mon Mar 5 11:44:29 UTC 2018
dacav <dacav at teknik.io>

Hello Centos developers,

My company would like to use Red-Hat/Centos as a target system for releasing
(proprietary) software.

In order to do this properly, I've constructed an infrastructure which
allows to build those packages, wrapping mock and other tools. Such
infrastructure uses a pool of Centos virtual machines for the building
phase.

A question that keeps popping in my mailbox is how to build those packages
without the 'centos' suffix, as in:

    %{name}-%{version}.el7.centos.x86_64.rpm

Some developers here find that `.centos` tag quite disturbing as
we are supposed to release for Red Hat.

I think the right thing to do here would be getting a (physical, licensed)
Red Hat builder to do the job. But I'm not sure of what this would entail.
For instance, is there a mock configuration to use for that? Would that be
included in a Red Hat machine?