Hi,

i've a general question about packaging php-pear modules.

If you install pear-module via the commandline tool, pear manages each module
in its "own" packagemanagement (it takes care that all dependencies etc. are
installed...).
Now if you install a (suse) php-pear-* rpm package the pear packagemanager
doesn't know that this certain packages is installed.
What about registering this package by the pear packagemanager too?
For example the following could be added to the spec files:

%post
# make the package known to the pear-packagemanager
pear install --nodeps --register-only PACKAGE.xml

%postun
# remove the package from the pear-packagemanager
pear uninstall --nodeps --register-only PACKAGE

(maybe some arguments should be added to the pear call..).

But this maybe leads to some problems too.
One possible problem could be that the user removes the pear-package via the
pear commandline tool but the package still exists in the rpm database..?!


What do you think about this?


Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to