redhat - rpm build for different os.version -


i rhel6 build machine construct rhel5 compatible rpm using maven rpm build plugin. see how modify arch (amd64 vs i386) , os.name (linux vs. ...) not rhel5 vs. rhel5.

your best bet create chroot (or perhaps run vm or docker image, or use mock) contains rhel5 on rhel6 host, , use building packages.

there specific ways configure rpm use zlib rather xz, , use md5 rather sha256, change labeling of rhel6 vs rhel5.

there no 1 magic switch achieve building rhel5 on rhel6 (without using mock etc isolation) because rhel5 , rhel6 distinct operating systems different api's , versions block success trivial packages.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -

Why does a .NET 4.0 program produce a system.unauthorizedAccess error on a Windows Server 2012 machine with .NET 4.5 installed? -