To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=46314
Issue #:|46314
Summary:|pyuno package should own symbolic links created
|during %post (remove them at uninstall)
Component:|Installation
Version:|680m88
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|ui
Assigned to:|of
Reported by:|cloph
------- Additional comments from [EMAIL PROTECTED] Wed Mar 30 09:11:09 -0800
2005 -------
The pyuno package creates symbolic links pointing to other files owned by the
package:
$ LC_MESSAGES=C rpm -qf /opt/openoffice.org1.9.88/program/python{,-core}
file /opt/openoffice.org1.9.88/program/python is not owned by any package
file /opt/openoffice.org1.9.88/program/python-core is not owned by any package
$ file /opt/openoffice.org1.9.88/program/python{,-core}
/opt/openoffice.org1.9.88/program/python: symbolic link to python.sh
/opt/openoffice.org1.9.88/program/python-core: symbolic link to
python-core-2.3.4
$ LC_MESSAGES=C rpm -qf
/opt/openoffice.org1.9.88/program/python{.sh,-core-2.3.4}
openofficeorg-pyuno-1.9.88-0
openofficeorg-pyuno-1.9.88-0
But doesn't remove them when updating (new OOo gets installed in a new directory
by default) or when erasing the package.
There are two possibilities to solve this issue:
1) check whether you really need to create this links using a %post-script.
It seems unnecessary to me since you create links to files that are installed by
the same package and these links reside in the same directory.
You can package symlinks with rpm - no need to create them afterwards.
But this check may be done because one can specify "--with-system-python" and in
this case the links would not point to an OOo provided one/would not be created
at all. But then again the specfile/epm control file could be modified depending
on the switch during the build...
In any case the symlinks should be owned by the package. So if you can not
package them for some reason, then you should take possibility number..
2) and specify the links using the %ghost directive.
With %ghost, the files are not installed, but when they exist, the package
claims ownership of these files (and will remove them when the package is
uninstalled)
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]