Bug 1139501 - Maven in Fedora 19 installs files to /share instead of /usr/share
Summary: Maven in Fedora 19 installs files to /share instead of /usr/share
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-09 06:08 UTC by Till Maas
Modified: 2014-09-09 12:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-09 09:36:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Till Maas 2014-09-09 06:08:12 UTC
I tried to build:

https://till.fedorapeople.org/copr/jnasmartcardio-0.2.2-0.1.Tillf19.src.rpm

I works for F20+, but fails for F19:
https://copr.fedoraproject.org/coprs/till/javacard/build/31222/

It fails because maven instals files to /share instead of /usr/share, which can be easily seen by building it locally on a f19 system.

NVR:
maven-local-0.15.0-2.fc19

Comment 1 Michal Srb 2014-09-09 09:28:41 UTC
Following line in %install section causes the trouble:

rm -rf $RPM_BUILD_ROOT

It's not really needed and if you remove it, the problem will disappear.
However, this should be very easy to fix in javapackages-tools. I'll prepare an update for F19. 


Thanks for reporting.

Comment 2 Mikolaj Izdebski 2014-09-09 09:36:26 UTC
There is no need for update - this is not a serious bug and there is a simple workaround.


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