Move pure Python modules to a noarch subpackage
This way, Koji will assert the noarch content is identical.
This commit is contained in:
parent
1d0068b5c1
commit
cfba108217
@ -50,10 +50,20 @@ for use in Python 3 programs.
|
||||
%package -n python3-gobject-base
|
||||
Summary: Python 3 bindings for GObject Introspection base package
|
||||
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
|
||||
Requires: python3-gobject-base-noarch = %{version}-%{release}
|
||||
|
||||
%description -n python3-gobject-base
|
||||
This package provides the non-cairo specific bits of the GObject Introspection
|
||||
library.
|
||||
library that are architecture specific.
|
||||
|
||||
%package -n python3-gobject-base-noarch
|
||||
Summary: Python 3 bindings for GObject Introspection base (not architecture dependent)
|
||||
BuildArch: noarch
|
||||
Requires: python3-gobject-base = %{version}-%{release}
|
||||
|
||||
%description -n python3-gobject-base-noarch
|
||||
This package provides the non-cairo specific bits of the GObject Introspection
|
||||
library that are not architecture specific.
|
||||
|
||||
%package -n python3-gobject-devel
|
||||
Summary: Development files for embedding PyGObject introspection support
|
||||
@ -80,12 +90,17 @@ This package contains files required to embed PyGObject
|
||||
%{python3_sitearch}/gi/_gi_cairo*.so
|
||||
|
||||
%files -n python3-gobject-base
|
||||
%dir %{python3_sitearch}/gi/
|
||||
%pycached %{python3_sitearch}/gi/*.py
|
||||
%{python3_sitearch}/gi/_gi.*.so
|
||||
%{python3_sitearch}/PyGObject-*.egg-info
|
||||
|
||||
%files -n python3-gobject-base-noarch
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%exclude %{python3_sitearch}/gi/_gi_cairo*.so
|
||||
%{python3_sitearch}/gi/
|
||||
%{python3_sitearch}/PyGObject-*.egg-info
|
||||
%{python3_sitelib}/gi/
|
||||
%dir %{python3_sitelib}/gi/
|
||||
%{python3_sitelib}/gi/overrides/
|
||||
%{python3_sitelib}/gi/repository/
|
||||
%{python3_sitelib}/pygtkcompat/
|
||||
|
||||
%files -n python3-gobject-devel
|
||||
@ -95,7 +110,8 @@ This package contains files required to embed PyGObject
|
||||
|
||||
%changelog
|
||||
* Mon Feb 07 2022 Miro Hrončok <mhroncok@redhat.com> - 3.42.0-4
|
||||
- Ensure Python bytecode installed in multilib packages is bit-to-bit identical
|
||||
- Move pure Python modules to a noarch subpackage
|
||||
- Ensure Python bytecode installed in the noarch subpackage is bit-to-bit identical
|
||||
Related: rhbz#1915764
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.42.0-3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user