conditionally require typelib
authorAnas Nashif <anas.nashif@intel.com>
Wed, 5 Dec 2012 10:16:26 +0000 (02:16 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 27 Mar 2013 15:53:20 +0000 (08:53 -0700)
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