From ac5ae36df4186177455ced754cf84594dd10bf450621c365a47bcf115b72a2c4 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 6 Sep 2010 12:39:58 +0000 Subject: [PATCH] Accepting request 47013 from home:dimstar:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/47013 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=61 --- rpm-gst-provides.patch | 14 ++++++++++++++ rpm.changes | 7 +++++++ rpm.spec | 3 ++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 rpm-gst-provides.patch diff --git a/rpm-gst-provides.patch b/rpm-gst-provides.patch new file mode 100644 index 0000000..7c4fe6c --- /dev/null +++ b/rpm-gst-provides.patch @@ -0,0 +1,14 @@ +Index: ./autodeps/linux.prov +=================================================================== +--- ./autodeps/linux.prov ++++ ./autodeps/linux.prov +@@ -102,4 +102,9 @@ fi + [ -x /usr/lib/rpm/find-provides.ksyms ] && + printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/find-provides.ksyms "$@" + ++# ++# --- GStreamer provides, codecs ++[ -x /usr/lib/rpm/gstreamer-provides ] && ++ printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/gstreamer-provides | sort -u ++ + exit 0 diff --git a/rpm.changes b/rpm.changes index 4dcbb0d..1b25649 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Sep 2 10:26:05 UTC 2010 - dimstar@opensuse.org + +- Add rpm-gst-provides.patch to allow rpm to collect provides of + gstreamer codecs. This will help pk-gstreamer-install to also + find the codecs it is looking for. + ------------------------------------------------------------------- Thu Aug 12 17:17:49 CEST 2010 - vuntz@opensuse.org diff --git a/rpm.spec b/rpm.spec index 0b2328e..cf70fbf 100644 --- a/rpm.spec +++ b/rpm.spec @@ -115,6 +115,7 @@ Patch78: nosource.diff Patch79: nosignature.diff Patch80: fixsbits.diff Patch81: pkgconfig-0.24.diff +Patch82: rpm-gst-provides.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # # avoid bootstrapping problem @@ -176,7 +177,7 @@ rm -f rpmdb/db.h %patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59 %patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69 %patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79 -%patch -P 80 -P 81 +%patch -P 80 -P 81 -P 82 #chmod 755 scripts/find-supplements{,.ksyms} #chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms #chmod 755 scripts/firmware.prov