teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.5.90-gstreamer-provides.patch

Panu Matilainen 9ba3bc
diff --git a/build/rpmfc.c b/build/rpmfc.c
Panu Matilainen 9ba3bc
index 94fb68e..525915b 100644
Panu Matilainen 9ba3bc
--- a/build/rpmfc.c
Panu Matilainen 9ba3bc
+++ b/build/rpmfc.c
Panu Matilainen 9ba3bc
@@ -1093,6 +1093,11 @@ assert(s != NULL);
Panu Matilainen 9ba3bc
 	free(buf);
Panu Matilainen 9ba3bc
     }
Panu Matilainen 9ba3bc
 
Panu Matilainen 9ba3bc
+    /* Add possible GStreamer provides */
Panu Matilainen 9ba3bc
+    if (!fc->skipProv && isDSO) {
Panu Matilainen 9ba3bc
+	xx = rpmfcHelper(fc, 'P', "gstreamer");
Panu Matilainen 9ba3bc
+    }
Panu Matilainen 9ba3bc
+
Panu Matilainen 9ba3bc
 exit:
Panu Matilainen 9ba3bc
     soname = _free(soname);
Panu Matilainen 9ba3bc
     if (elf) (void) elf_end(elf);