[opensuse-packaging] rpm requires tag
Hi List, im using suse 10.1 I want to link required packages in Spec-File with a logical OR. So i want my new rpm installed if is the first OR second required package installed. By Default all packages in required tag are needed. (AND) Is there a way? I did not found any useful notes. Or is there a differnet way for me? Thanks Andre --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2008-01-21 16:56:44 +0100, Andre Hübner wrote:
I want to link required packages in Spec-File with a logical OR. So i want my new rpm installed if is the first OR second required package installed. By Default all packages in required tag are needed. (AND) Is there a way? I did not found any useful notes. Or is there a differnet way for me?
there is no OR and you see the required from the wrong direction: requires says "if you install this package i need that package too" if you want your package to say "if you see this package. install me aswell." then you want supplements/enhances. http://en.opensuse.org/Software_Management/Dependencies darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
seems that i have to find a Compromise. i compiled my php for webserver in different ways/different sizes. i can switch between this modes. some of the modes/top-modules can include the same submodules. this are exactly same files and folders. names of packages are different, there is no joining top-package and how you say i cannot use a OR. I could make new packages requiring each of the top-modules, but this would be a redundancy i try to avoid. hmm... i have problems to find the best match in your link ist das eigentlich eine deutsche liste? deutsch schreibt sich deutlich einfacher ;) Thanks Andre ----- Original Message ----- From: "Marcus Rueckert" <darix@opensu.se> To: <opensuse-packaging@opensuse.org> Sent: Monday, January 21, 2008 5:06 PM Subject: Re: [opensuse-packaging] rpm requires tag
On 2008-01-21 16:56:44 +0100, Andre Hübner wrote:
I want to link required packages in Spec-File with a logical OR. So i want my new rpm installed if is the first OR second required package installed. By Default all packages in required tag are needed. (AND) Is there a way? I did not found any useful notes. Or is there a differnet way for me?
there is no OR
and you see the required from the wrong direction:
requires says "if you install this package i need that package too" if you want your package to say "if you see this package. install me aswell." then you want supplements/enhances.
http://en.opensuse.org/Software_Management/Dependencies
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.8/1235 - Release Date: 21.01.2008 09:39
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Monday 21 January 2008 16:56:44 wrote Andre Hübner:
Hi List,
im using suse 10.1
I want to link required packages in Spec-File with a logical OR. So i want my new rpm installed if is the first OR second required package installed. By Default all packages in required tag are needed. (AND) Is there a way? I did not found any useful notes. Or is there a differnet way for me?
AFAIK the only way to do this is to add "Provides: something" in all possible packages, afterwards you can "Requires: something" in your package. -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Andre Huebner
-
Andre Hübner
-
Marcus Rueckert