https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Bug ID: 1017702 Summary: javapackages-tools: Incorrect requires on package providing filesystem Product: Fedora Version: rawhide Component: javapackages-tools Assignee: sochotni@redhat.com Reporter: mizdebsk@redhat.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, mizdebsk@redhat.com, msrb@redhat.com, sochotni@redhat.com
Description of problem: Packages with non-empty <namespace> have auto-requires on jpackage-utils instead on <namespace>-runtime.
Version-Release number of selected component (if applicable): 3.3.1-1
Steps to Reproduce: Run autorequires generator for package with the following fragment:
$ cat depmap.xml <?xml version="1.0" encoding="US-ASCII"?> <!-- This depmap file was generated by XMvn --> <dependencyMap> <dependency> <maven> <namespace>maven31</namespace> <groupId>org.eclipse.aether</groupId> <artifactId>aether-api</artifactId> <version>0.9.0.M3</version> </maven> <jpp> <namespace>maven31</namespace> <groupId>JPP/maven31-aether</groupId> <artifactId>aether-api</artifactId> </jpp> </dependency> </dependencyMap>
Actual results: Generated Requires is: jpackage-utils
Expected results: Generated Requires should be: maven31-runtime
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Stanislav Ochotnicky sochotni@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST
--- Comment #1 from Stanislav Ochotnicky sochotni@redhat.com --- Testcases in a0de7eab, fix in a72ad0519
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |ASSIGNED
--- Comment #2 from Mikolaj Izdebski mizdebsk@redhat.com --- This is still not correct.
1) javadoc packages in SCL do not have any requires, but they should require <namespace>-runtime
2) if package provides artifacts with namespace and without namespace only <namespace>-runtime is generated, but both jpackage-utils and <namespace>-runtime should be generated
3) if package provides artifacts in nore then one non-empty namespace then only one of them will be used to generate requires, but all namespaced should be used to produce <namespace>-runtime require
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
--- Comment #3 from Stanislav Ochotnicky sochotni@redhat.com --- More tests added in 6dcfa86 and fixed in 9ec6128. The javadoc packages are still not fixed though so leaving in assigned
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Triaged
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|sochotni@redhat.com |mizdebsk@redhat.com
--- Comment #4 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|mizdebsk@redhat.com |msrb@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|unspecified |high
--- Comment #5 from Mikolaj Izdebski mizdebsk@redhat.com --- It is important to have this fixed in 4.3.x.
https://bugzilla.redhat.com/show_bug.cgi?id=1017702
Fedora Java SIG java-sig-commits@lists.fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|java-sig-commits@lists.fedo | |raproject.org |
Michal Srb msrb@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE Last Closed| |2015-02-05 01:42:21
--- Comment #6 from Michal Srb msrb@redhat.com --- I believe that this bug is properly fixed in javapackages-tools 4.3.2, which is available in Rawhide.
java-sig-commits@lists.fedoraproject.org