conditionally require typelib
authorAnas Nashif <anas.nashif@intel.com>
Wed, 5 Dec 2012 10:16:26 +0000 (02:16 -0800)
committerQuanxian Wang <quanxian.wang@intel.com>
Fri, 8 Nov 2013 07:15:41 +0000 (15:15 +0800)
packaging/gdk-pixbuf.spec

index 70bf45d..2f89255 100644 (file)
@@ -54,7 +54,9 @@ loadable modules.
 Summary:        An image loading library - Development Files
 Group:          Development/Languages/C and C++
 Requires:       gdk-pixbuf = %{version}
+%if %{with introspection}
 Requires:       typelib-GdkPixbuf = %{version}
+%endif
 
 %description devel
 gdk-pixbuf is an image loading library that can be extended by loadable