]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - pygobject3/pygobject3.nm
ncurses: Update to 6.1
[people/stevee/ipfire-3.x.git] / pygobject3 / pygobject3.nm
index 60e72d071bfc7138d549886532fa4e825ea713e0..bc9203582ce9c806b9563c55e1adb3142810d82c 100644 (file)
@@ -5,8 +5,8 @@
 
 name       = pygobject3
 version    = %{ver_major}.%{ver_minor}
-ver_major  = 3.7
-ver_minor  = 4
+ver_major  = 3.18
+ver_minor  = 0
 release    = 1
 
 groups     = Development/Tools
@@ -27,14 +27,13 @@ sources    = %{thisapp}.tar.xz
 build
        requires
                cairo-gobject-devel >= 1.12.12
-               chrpath
                glib2-devel >= 2.34.2
                gobject-introspection-devel >= 1.34.2
                pkg-config
                python-cairo-devel
                python3-cairo-devel
                python-devel
-               python3-devel
+               python3-devel >= 3.4
        end
 
        DIR_APP3 = %{DIR_APP}-python3
@@ -65,12 +64,10 @@ build
                pushd %{DIR_APP3}
                export PYTHON=%{python3}
                make install DESTDIR=%{BUILDROOT}
-               chrpath --delete %{BUILDROOT}%{python3_sitearch}/gi/{*.so,*/*.so}
                popd
 
                export PYTHON=%{python}
                make install DESTDIR=%{BUILDROOT}
-               chrpath --delete %{BUILDROOT}%{python_sitearch}/gi/{*.so,*/*.so}
        end
 end
 
@@ -80,6 +77,9 @@ packages
                        gobject-introspection >= 1.34.2
                        python-cairo
                end
+
+               files += \
+                       {libdir}/*python2*.so.*
        end
 
        package python3-gobject3
@@ -89,6 +89,9 @@ packages
                        gobject-introspection >= 1.34.2
                        python3-cairo
                end
+
+               files += \
+                       %{libdir}/*python3*.so.*
        end
 
        package %{name}-devel
@@ -105,7 +108,7 @@ packages
                end
 
                files += \
-                       %{libdir}/*python3*.so.*
+                       %{libdir}/*python3*.so
        end
 
        package %{name}-debuginfo