[CCing Ales as the maintainer of the pear packages] Marcus Hüwe wrote:
Now if you install a (suse) php-pear-* rpm package the pear packagemanager doesn't know that this certain packages is installed.
Yes, the pear packages leave much room for improvement. And yes, I admit authorship of the current spec files :-)
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
Good idea.
%postun # remove the package from the pear-packagemanager pear uninstall --nodeps --register-only PACKAGE
I'd wrap it with 'if test -x /usr/bin/pear; then ... fi', because rpm doesn't implement ordering of packages during uninstallation.
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..?!
I think this is a generic problem, it would be interesting to see how/whether is it solved in cpan or gems. Darix, Anicka, are you there? ;-) Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org