Re: make rpm packages for all linux distributions




havis wrote:

Hi all, i have a problem, I am using rpm to create rpm packages for
linux. Now, I have a problem, when it is redhat distribution, the rpm
must work on one way, but when it is suse it must work other way. I can
not find the way to accomplish this. rpm ifos or ifarch options just
make difference between architectures and operating systems, but for
all linux distributions they use "Linux" as identifier, so it is not
possible to make a difference between linux redhat and linux suse for
example. Can anyone help me? thanx.


rpms are binary packages and thus depend on the distribution. Some
distributions (Debian) do not use rpm at all. Others use different glib or
kernels. It depends on what your package depends on. You should put in the
dependencies intot he package.
If you told us what you were trying to do instead of asking us to comment
on your solution for an unknown problem you might get more useful advice.

.



Relevant Pages

  • Re: windows to linux relation
    ... installations in linux. ... SuSE is rpm-based, so you can just use rpm like in RedHat, Mandriva, ... Filename extensions are not used to denote executable files in *nix; ...
    (comp.os.linux.misc)
  • Re: RH to SUSE
    ... I use SUSE at home ... RPM -- can be used as on Red Hat, ... Windows users say Linux has to be more "Windows- ... you can't find an RPM for your distro, ...
    (alt.os.linux.suse)
  • Re: =?iso-8859-15?q?Unzul=E4nglichkeit_Programminstallationen_?= =?iso-8859-15?q?=5B
    ... 'Programminstallation' bei Suse - bei Linux allgemein? ... welche "Capabilities" das Paket anbietet. ... RPM hat auch einen Parameter --whatprovides, ...
    (de.comp.os.unix.linux.misc)
  • Re: Shouldnt we abandon SUSE?
    ... good or better that SUSE so which will be best one to migrate to? ... heading up a small group has released this distribution. ... But I am recommending PCLinuxOS as a first ... Linux experience, or for those folks who do not have time to tweak other ...
    (alt.os.linux.suse)
  • Re: Installing kernel sources and Nvidia
    ... > man rpm for additional info on the use of rpm. ... I am bitterly disappointed that simply getting a graphics display in Linux ... I'm equally disappointed at the silence from SuSE in their ... sources simply to install a video driver. ...
    (alt.os.linux.suse)