aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xfind-provides.in14
2 files changed, 15 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6bb74bf..eb5b294 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- Add support for osgi and maven provide
- Use upstream desktop-file.prov as we had exactly the same file
Version 1.147 - 27 Dec 2011, by Anssi Hannula
diff --git a/find-provides.in b/find-provides.in
index 3adf346..0ef9b15 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -143,4 +143,18 @@ fi
echo "$solist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/gstreamer.prov | sort -u \
&& test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/gstreamer.prov failed' >&2 && exit 1
+#
+# --- osgi provides
+if [ -x @RPMLIBDIR@/osgi.prov ];then
+ echo $filelist | tr '[:blank:]' '\n' | @RPMLIBDIR@/osgi.prov \
+ && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMLIBDIR@/osgi.prov failed' >&2 && exit 1
+fi
+
+#
+# --- maven provides
+if [ -x @RPMLIBDIR@/maven.prov ];then
+ echo $filelist | tr '[:blank:]' '\n' | @RPMLIBDIR@/maven.prov \
+ && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMLIBDIR@/maven.prov failed' >&2 && exit 1
+fi
+
exit 0