Blame SOURCES/rh-java-common-javapackages-provides-wrapper

6f7d69
#!/bin/bash
6f7d69
set -e
6f7d69
6f7d69
export RPM_BUILD_ROOT="$1"
6f7d69
shift
6f7d69
6f7d69
while read filepath
6f7d69
do
6f7d69
  if [[ "$filepath" == */usr/share/maven-metadata/* ]]; then
6f7d69
     echo "$filepath" | /opt/rh/rh-java-common/root/usr/lib/rpm/maven.prov "${@}"
6f7d69
  fi
6f7d69
  if [[ "$filepath" == *.jar || "$filepath" == */MANIFEST.MF ]]; then
6f7d69
     echo "$filepath" | /opt/rh/rh-java-common/root/usr/lib/rpm/osgi.prov "${@}"
6f7d69
  fi
6f7d69
done