Bug 1019086

Summary: javapackages-tools: Don't prefix XMvn package name with %{?scl_prefix}
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: javapackages-toolsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msrb, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.4.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-07 07:11:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mikolaj Izdebski 2013-10-15 07:08:30 UTC
Description of problem:
In SCL %mvn_build should set XMvn package name to %{pkg_name}, not %{name}.

In current state porting packages to SCL is more difficult and time consuming as generated packages have different paths and therefore things like:
  build-classpath foo
need to be changed to:
  build-classpath %{?scl_prefix}foo

Besides that the SCL prefix is repeated in some places which does not help with anything, but only makes paths longer.

Version-Release number of selected component (if applicable):
3.4.0-2

Comment 1 Stanislav Ochotnicky 2013-10-16 07:44:28 UTC
Fixed in ab1b6a4a, testcase for mvn_build switch in ec56f958

Comment 2 Mikolaj Izdebski 2013-11-07 07:09:34 UTC
Fixed in javapackages-tools-3.4.1-1

Comment 3 Mikolaj Izdebski 2013-11-07 07:10:27 UTC
Fixed in javapackages-tools-3.4.1-1

Comment 4 Mikolaj Izdebski 2013-11-07 07:11:22 UTC
I believe that this bug is fixed in javapackages-tools-3.4.1-1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=476325