https://bugzilla.redhat.com/show_bug.cgi?id=1012284
Bug ID: 1012284
Summary: javapackages-tools: %add_maven_depmap fails with -v
Product: Fedora
Version: rawhide
Component: javapackages-tools
Assignee: sochotni(a)redhat.com
Reporter: mizdebsk(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msrb(a)redhat.com,
sochotni(a)redhat.com
Created attachment 803264
-->
https://bugzilla.redhat.com/attachment.cgi?id=803264&action=edit
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=Z1lpYBMoPl&a=cc_unsubscribe