Re: single RPM for all distros?

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

 



On 29. 4. 2016 at 16:22:05, Lubomir Rintel wrote:
> On Fri, 2016-04-29 at 14:00 +0000, 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?
> > Specifically, I need to 'Require' the libraries for FUSE, but on RHEL
> > the name is 'fuse-libs', on SuSE the name is libfuse, on Mageia it is
> > lib64fuse.
> > Is there a way to write conditional 'Requires'??
> 
> You should depend on some provide the package provides.
> And for the libraries it's going to be automatically generated.
> 
> Just do nothing and it will work well.


I think the trick will be on a different level. I don't think there is a way 
how to ensure that the ABI will be compatible across distros. The only way I 
can think of to get around it ain't pretty: bundle as much as you can in the 
package.

Now, if you are talking about single spec working across distros, that's 
something different and it should be doable with a bunch of conditionals in 
the spec.

Thanks,
Jan
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-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