Blob Blame History Raw
#!/bin/bash

fedpkg sources
TARBALL=$(cat sources | sed -e 's/.*(\(.*\)).*/\1/')
tar xf $TARBALL

VER=2.0.0
rm *.pom
NUM=10
for src in $( (cd powermock-*/ && find powermock* -name src -type d) ) ; do
	AID=$(basename $(dirname $src))
	wget https://repo1.maven.org/maven2/org/powermock/$AID/$VER/$AID-$VER.pom
	echo "Source$NUM:       https://repo1.maven.org/maven2/org/powermock/$AID/%{version}/$AID-%{version}.pom"
	NUM=$(( $NUM + 1 ))
done