Bug 701030 - /usr/share/tomcat6/bin not owned by RPM
Summary: /usr/share/tomcat6/bin not owned by RPM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat6
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Knox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-30 13:16 UTC by John Dennis
Modified: 2015-11-02 00:16 UTC (History)
4 users (show)

Fixed In Version: tomcat6-6.0.32-8.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-19 04:35:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Dennis 2011-04-30 13:16:38 UTC
The /usr/share/tomcat6/bin is not owned by the RPM, thus it is orphaned when the rpm is erased.

This occurs because %{bindir} is not listed in the %files section as %dir.

Also as an aside it might make sense to define %{bindir} so it's relative to ${homedir}

rather than:

%global bindir %{_datadir}/%{name}/bin
%global homedir %{_datadir}/%{name}

The following might be a tad cleaner and more robust:

%global homedir %{_datadir}/%{name}
%global bindir %{homedir}/bin

that way if homedir ever changes bindir will move with it and allows for the possibility of just adding homedir to the %files.

Comment 1 Fedora Update System 2011-05-16 18:53:11 UTC
tomcat6-6.0.32-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-1.fc15

Comment 2 Fedora Update System 2011-05-17 05:38:05 UTC
Package tomcat6-6.0.32-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tomcat6-6.0.32-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-1.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-05-18 21:40:14 UTC
tomcat6-6.0.32-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-2.fc15

Comment 4 Fedora Update System 2011-07-05 17:51:42 UTC
tomcat6-6.0.32-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-4.fc15

Comment 5 Fedora Update System 2011-09-27 22:25:41 UTC
tomcat6-6.0.32-8.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-8.fc15

Comment 6 Fedora Update System 2011-09-27 22:26:56 UTC
tomcat6-6.0.32-17.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/tomcat6-6.0.32-17.fc16

Comment 7 Fedora Update System 2011-10-19 04:35:42 UTC
tomcat6-6.0.32-17.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-10-20 09:57:47 UTC
tomcat6-6.0.32-8.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.