| |
@@ -17,9 +17,9 @@
|
| |
BuildRequires: glib2-devel >= %{glib2_version}
|
| |
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
|
| |
BuildRequires: meson
|
| |
- BuildRequires: python3-devel >= %{python3_version}
|
| |
- BuildRequires: python3-cairo-devel >= %{pycairo_version}
|
| |
- BuildRequires: python3-setuptools
|
| |
+ BuildRequires: python%{python3_pkgversion}-devel >= %{python3_version}
|
| |
+ BuildRequires: python%{python3_pkgversion}-cairo-devel >= %{pycairo_version}
|
| |
+ BuildRequires: python%{python3_pkgversion}-setuptools
|
| |
|
| |
Patch10001: 0001-IntrospectionModule-handle-two-threads-loading-type-.patch
|
| |
|
| |
@@ -27,34 +27,34 @@
|
| |
The %{name} package provides a convenient wrapper for the GObject library
|
| |
for use in Python programs.
|
| |
|
| |
- %package -n python3-gobject
|
| |
+ %package -n python%{python3_pkgversion}-gobject
|
| |
Summary: Python 3 bindings for GObject Introspection
|
| |
- Requires: python3-gobject-base%{?_isa} = %{version}-%{release}
|
| |
+ Requires: python%{python3_pkgversion}-gobject-base%{?_isa} = %{version}-%{release}
|
| |
# The cairo override module depends on this
|
| |
- Requires: python3-cairo%{?_isa} >= %{pycairo_version}
|
| |
+ Requires: python%{python3_pkgversion}-cairo%{?_isa} >= %{pycairo_version}
|
| |
|
| |
- %description -n python3-gobject
|
| |
- The python3-gobject package provides a convenient wrapper for the GObject
|
| |
- library and and other libraries that are compatible with GObject Introspection,
|
| |
+ %description -n python%{python3_pkgversion}-gobject
|
| |
+ The python%{python3_pkgversion}-gobject package provides a convenient wrapper for the GObject
|
| |
+ library and and other libraries that are compatible with GObject Introspection,
|
| |
for use in Python 3 programs.
|
| |
|
| |
- %package -n python3-gobject-base
|
| |
+ %package -n python%{python3_pkgversion}-gobject-base
|
| |
Summary: Python 3 bindings for GObject Introspection base package
|
| |
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
|
| |
|
| |
- %description -n python3-gobject-base
|
| |
+ %description -n python%{python3_pkgversion}-gobject-base
|
| |
This package provides the non-cairo specific bits of the GObject Introspection
|
| |
library.
|
| |
|
| |
- %package -n python3-gobject-devel
|
| |
+ %package -n python%{python3_pkgversion}-gobject-devel
|
| |
Summary: Development files for embedding PyGObject introspection support
|
| |
- Requires: python3-gobject%{?_isa} = %{version}-%{release}
|
| |
+ Requires: python%{python3_pkgversion}-gobject%{?_isa} = %{version}-%{release}
|
| |
Requires: gobject-introspection-devel%{?_isa}
|
| |
# Renamed in F31
|
| |
Obsoletes: pygobject3-devel < 3.34.0-2
|
| |
Provides: pygobject3-devel = %{version}-%{release}
|
| |
|
| |
- %description -n python3-gobject-devel
|
| |
+ %description -n python%{python3_pkgversion}-gobject-devel
|
| |
This package contains files required to embed PyGObject
|
| |
|
| |
%prep
|
| |
@@ -67,10 +67,10 @@
|
| |
%install
|
| |
%meson_install
|
| |
|
| |
- %files -n python3-gobject
|
| |
+ %files -n python%{python3_pkgversion}-gobject
|
| |
%{python3_sitearch}/gi/_gi_cairo*.so
|
| |
|
| |
- %files -n python3-gobject-base
|
| |
+ %files -n python%{python3_pkgversion}-gobject-base
|
| |
%license COPYING
|
| |
%doc NEWS
|
| |
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
| |
@@ -79,7 +79,7 @@
|
| |
%{python3_sitelib}/gi/
|
| |
%{python3_sitelib}/pygtkcompat/
|
| |
|
| |
- %files -n python3-gobject-devel
|
| |
+ %files -n python%{python3_pkgversion}-gobject-devel
|
| |
%dir %{_includedir}/pygobject-3.0/
|
| |
%{_includedir}/pygobject-3.0/pygobject.h
|
| |
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
| |
Signed-off-by: Frédéric Pierret (fepitre) frederic.pierret@qubes-os.org