do not require typelib w/o gnome enabled
authorAnas Nashif <anas.nashif@intel.com>
Tue, 8 Jan 2013 21:48:11 +0000 (13:48 -0800)
committerdavid <david@david-desktop.(none)>
Fri, 21 Nov 2014 01:41:02 +0000 (09:41 +0800)
packaging/libsoup.spec

index 712f6c4..6ac91ff 100644 (file)
@@ -49,7 +49,9 @@ This package provides the GObject Introspection bindings for libsoup.
 Summary:        HTTP client/server library for GNOME - Development Files
 Group:          Development/Libraries/GNOME
 Requires:       %{name} = %{version}
+%if %{with gnome}
 Requires:       typelib-Soup = %{version}
+%endif
 
 %description devel
 Libsoup is an HTTP client/server library for GNOME. It uses GObjects