File 0001-libMirage-proper-versioning-of-the-introspection-typ.patch of Package libmirage

From 1f13f0af6dcc0014b27dc9135279267ff21c3199 Mon Sep 17 00:00:00 2001
From: Rok Mandeljc <rok.mandeljc@gmail.com>
Date: Sun, 9 Jun 2013 18:35:00 +0200
Subject: [PATCH] libMirage: proper versioning of the introspection typelib

---
 libmirage/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmirage/CMakeLists.txt b/libmirage/CMakeLists.txt
index c265dd2..6d33b40 100644
--- a/libmirage/CMakeLists.txt
+++ b/libmirage/CMakeLists.txt
@@ -221,7 +221,7 @@ endif ()
 # *** Introspection ***
 if (INTROSPECTION_ENABLED AND INTROSPECTION_FOUND)
     gobject_introspection (
-        FILENAME libMirage-2.0.gir
+        FILENAME libMirage-${MIRAGE_MAJOR_VERSION}.${MIRAGE_MINOR_VERSION}.gir
         NSVERSION ${MIRAGE_VERSION_SHORT}
         INCLUDES GObject-2.0 Gio-2.0 GLib-2.0 GModule-2.0
         LIBRARY mirage
-- 
1.8.2

openSUSE Build Service is sponsored by