Re: php/php53 application packaging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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,


--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux