https://bugzilla.redhat.com/show_bug.cgi?id=1809931
Bug ID: 1809931
Summary: %mvn_install does not honour %_prefix
Product: Fedora
Version: 31
Status: NEW
Component: javapackages-tools
Assignee: mizdebsk(a)redhat.com
Reporter: sbergman(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mat.booth(a)redhat.com, mizdebsk(a)redhat.com,
msrb(a)redhat.com, sochotni(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
I discovered this when trying to do a flatpak build of LibreOffice following
the instructions at <
https://docs.fedoraproject.org/en-US/flatpak/>. One
component that needs to be rebuilt with %_prefix set to /app (instead of the
usual /usr) is bsh, which uses %mvn_install (see
<
https://src.fedoraproject.org/rpms/bsh/blob/f31/f/bsh.spec>).
However, the spec file line
%mvn_install -J javadoc
there apparently creates %{buildroot}/usr/share/java/bsh.jar (and records that
in .mfiles) rather than %{buildroot}/app/share/java/bsh.jar, even if %_prefix
is /app.
Version-Release number of selected component (if applicable):
$ rpm -qf /usr/lib/rpm/macros.d/macros.fjava
javapackages-local-5.3.0-6.fc31.noarch
--
You are receiving this mail because:
You are on the CC list for the bug.