[Ilugc] How to Create RPM in solaris server

  • From: shakthimaan@xxxxxxxxx (Shakthi Kannan)
  • Date: Mon, 31 Mar 2014 22:16:24 +0530

Hi,

--- On Mon, Mar 31, 2014 at 7:12 PM, madhusudhanan Elangovan
<madhusudhanane at gmail.com> wrote:
| Thanks Shakthi, but i don't care about compilation mine is a java
| application , so i believe i can compile it anywhere and run it any server.
\--

You can definitely run it anywhere, but compilation, by definition, is
compiler and architecture dependent. The RPM macros will differ
depending on the platform you use.

The ability to re-create any binary RPM from source is cleanly
possible through native builds, and that is the reason behind RPM
packaging in Fedora/RHEL. It is a bit tedious in cross-compilation
environments, and, hence not encouraged in these distributions.

---
| It's just about packaging, what is the issue in having an rpm created in
| solaris server and deployed in RHEL servers.
\--

It was not meant to be used this way. Use the tools the way they were
designed for, instead of having to fight with the tools to do what you
want them to do.

Regards,

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

Other related posts: