Hide Forgot
Created attachment 803264 [details] Reproducer Description of problem: %add_maven_depmap fails if option -v is specified Version-Release number of selected component (if applicable): 3.2.4-2 Steps to Reproduce: 1. rebuild attached SRPM Actual results: + python -m /usr/share/java-utils/maven_depmap -r 4.5.6 -p /usr -n '' /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/maven-fragments/maven-downloader /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/maven-poms/JPP-foo.pom /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/java/foo.xy + [[ -n -v 4.5.6 ]] + mv /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/maven-poms/JPP-foo.pom /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/maven-poms/JPP-foo-1.1.pom + '[' -f /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/java/foo.xy ']' + mv /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/java/foo.xy /builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/java/foo.xy mv: '/builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/java/foo.xy' and '/builddir/build/BUILDROOT/maven-downloader-1.1-5.fc21.x86_64/usr/share/java/foo.xy' are the same file Expected results: Macro succeeds.
Fixed in javapackages-tools-3.3.1-1
Verified by rebuilding reproducer SRPM. Test case added upstream in 8c8e870.
I believe that this bug is fixed in javapackages-tools-3.3.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=469008