Bug 2480

Summary: maven 3.0.3 wrong _jnidir link in /usr/share/maven/repository-jni
Product: Mageia Reporter: gil gil <puntogil>
Component: RPM PackagesAssignee: D Morgan <dmorganec>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: maven CVE:
Status comment:

Description gil gil 2011-08-21 08:01:41 CEST
hi
there is this problem with maven 3.
i have a os 32bit

%{_jnidir} point to  /usr/lib64/java in /usr/share/maven/repository-jni
if is possible edit maven spec file
in this mode? or change the BuildArch value?

%ifarch x86_64
  %global bits 64
%else
  %global bits %{nil}
%endif

%global _jniarchdir /usr/lib%{bits}/java

.....

##############################
# _libdir/java repository #
##############################
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/repository-jni
ln -s %{_jniarchdir} $RPM_BUILD_ROOT%{_datadir}/%{name}/repository-jni/JPP


thanks
Comment 1 D Morgan 2011-08-21 13:44:44 CEST
thanks a log for this bugreport. In fact the good fix was to remove the rpm as noarch as we depend of %_libdir.

Status: NEW => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => FIXED

D Morgan 2011-08-21 13:44:53 CEST

Source RPM: (none) => maven

D Morgan 2011-08-21 13:45:03 CEST

Assignee: bugsquad => dmorganec