[Fedora-packaging] php/php53 application packaging

indent man indentman at gmail.com
Thu Sep 6 09:44:59 UTC 2012


I mean, given the following packages:

my-app
php-foo
php-bar
php53-foo
php53-bar

php-foo and php-bar depend on php-common.
php53-foo and php53-bar depend on php53-common.
php-foo and php53-foo provide "php(foo)".
php-bar and php53-bar provide "php(bar)".
And my-app depends on "php(foo)" and "php(bar)".

When I yum install my-app, it tries to install both php53-foo and php-bar,
resulting in a conflict between php-common and php53-common.

So, how can I ensure that all my dependencies are installed for the same
PHP version ?
Is making two my-app-php and my-app-php53 packages the only solution ?


On Thu, Sep 6, 2012 at 11:31 AM, indent man <indentman at gmail.com> wrote:

> Hello,
>
> I'm packaging a PHP application under CentOS 5.
> It depends on some other php libraries, but should work with both php
> (5.1) and php53.
> But when I try to install the application RPM, yum mixes both php and
> php53 libraries.
>
> What is the best way to prevent this ?
>
> Cheers,
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120906/c818d1e1/attachment.html>


More information about the packaging mailing list