Skip to contentSkip to conversation

Build a special RPM

DISCUSSION Mário Gamito 3 participants 3 messages Mar 2, 2007 – Mar 3, 2007

lore
Share & tools
lore
#0 lore raw

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

... 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" ...

Signature · 7 lines
... 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Mário Gamito

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