Bug 2480 - maven 3.0.3 wrong _jnidir link in /usr/share/maven/repository-jni
Summary: maven 3.0.3 wrong _jnidir link in /usr/share/maven/repository-jni
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: D Morgan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 08:01 CEST by gil gil
Modified: 2011-08-21 13:45 CEST (History)
1 user (show)

See Also:
Source RPM: maven
CVE:
Status comment:


Attachments

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


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