From bd0d81481c81f6783786fd08e21fb3018e84c90c61fbcdac50cb401561e338d3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 14 Jul 2014 21:35:33 +0000 Subject: [PATCH] Accepting request 241001 from GNOME:Next Small fix - actually support RPMs OBS-URL: https://build.opensuse.org/request/show/241001 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=2 --- appstream-glib.changes | 6 ++++++ appstream-glib.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/appstream-glib.changes b/appstream-glib.changes index 5e55578..07d407f 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 14 18:07:08 UTC 2014 - dimstar@opensuse.org + +- Pass --enable-rpm to configure: we DO want to support RPMs. +- Add pkgconfig(rpm) BuildRequires: required for RPM support. + ------------------------------------------------------------------- Sat Jul 12 23:46:28 UTC 2014 - dimstar@opensuse.org diff --git a/appstream-glib.spec b/appstream-glib.spec index a41b231..165c314 100644 --- a/appstream-glib.spec +++ b/appstream-glib.spec @@ -29,6 +29,7 @@ BuildRequires: intltool >= 0.40.0 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(glib-2.0) >= 2.16.1 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) @@ -110,7 +111,9 @@ What this library allows you to do: %setup -q %build -%configure --disable-static +%configure \ + --disable-static \ + --enable-rpm make %{?_smp_mflags} %install