All of lore.kernel.org
 help / color / mirror / Atom feed
* Build a special RPM
@ 2007-03-02 10:50 Mário Gamito
  2007-03-02 17:26 ` terry white
  2007-03-03  1:54 ` Thornton Prime
  0 siblings, 2 replies; 3+ messages in thread
From: Mário Gamito @ 2007-03-02 10:50 UTC (permalink / raw)
  To: linux-admin

Hi,

I want to build a single RPM that has more than one software in it and a 
different name from them.

Let's imagine for the sake of example that i want to make an RPM called 
databases.rpm that installs both MySQL and Postgres.

How can i do this with a single spec file ?

I've googled for an hour or two and found no info about this issue.

Can someone enlighten me, please ?

WarmRegards,
Mário Gamito
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build a special RPM
  2007-03-02 10:50 Build a special RPM Mário Gamito
@ 2007-03-02 17:26 ` terry white
  2007-03-03  1:54 ` Thornton Prime
  1 sibling, 0 replies; 3+ messages in thread
From: terry white @ 2007-03-02 17:26 UTC (permalink / raw)
  To: linux-admin

... ciao:

: on "3-2-2007" "Mário Gamito" writ:
: I want to build a single RPM that has more than one software in it and a
: different name from them.

    personally, i tend to avoid rpm, but man says:

    rpm - "basic mode selected ... Build Package from Tarball"

    tar - "to tar are the names of the files or directories" ...


-- 
... i'm a man, but i can change,
    if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build a special RPM
  2007-03-02 10:50 Build a special RPM Mário Gamito
  2007-03-02 17:26 ` terry white
@ 2007-03-03  1:54 ` Thornton Prime
  1 sibling, 0 replies; 3+ messages in thread
From: Thornton Prime @ 2007-03-03  1:54 UTC (permalink / raw)
  To: Mário Gamito; +Cc: linux-admin

If all you want to do is require two packages, and you have a good
RPM-based package dependency system, just put both packages in
Requires: and build an empty RPM. (I do this all the time).

If you want something more complicated, go read the book at
www.rpm.org, download the SRPMs for one or both packages, and start
merging them.

~ thornton

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-03  1:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02 10:50 Build a special RPM Mário Gamito
2007-03-02 17:26 ` terry white
2007-03-03  1:54 ` Thornton Prime

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.