I would like to use rpm to create subpackages for different environments (in real time, for testing, for developers), but for the same files, therefore with a package called name-config-live, one of which is called name-config-testing, and one is name-config-developer and they have the same paths, but each with configurations that correspond to the environment they name. as an example
let's say that in all environments I have a file called /etc/name.conf, and when testing I want it to contain "1", in development "2" and in real time "3". Is it possible to do this in the same specification, since the generation of subpackages only happens in the wrong order in which I enter it. (and hopefully not with% post -n)
I tried using BuildRoot, but it seems like a global attribute
source share