[CentOS-devel] Building a package for RedHat

Leon Fauster

leonfauster at googlemail.com
Mon Mar 5 11:57:11 UTC 2018


> Am 05.03.2018 um 12:44 schrieb 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?


The %{?dist} tag is up to you. Its part of the versioning.

--
LF
 


More information about the CentOS-devel mailing list