Re: single RPM for all distros?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, 1 Jun 2016, Daniel Letai wrote:

if find-requires provides the correct libs, you might use 'Autoreq: yes' and
it would work.

On rhel, find-requires path is at

Otherwise, you can write conditional anything, e.g.,

%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
%ifarch %{arm}
Requires: glibc >= 2.16

Those provide for a single SRPM that compiles on multiple distros. That is good, and standard practice, but I think the OP was asking
if there was a way for a single *binary* RPM to install on multiple
distros.  Of course there is, but what I've seen from proprietary
vendors has been rather ugly - usually a combination of static linking
and lengthy %pre/%post scripts that make me afraid to install the package.

On 04/29/2016 05:00 PM, Heyman, Jerrold wrote:

      I’m pretty sure I know the answer, but is there a way to have a
      single product RPM that can be installed on multiple distros?

	      Stuart D. Gathman <stuart@xxxxxxxxxxx>
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
Rpm-list mailing list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux