Ensure Python bytecode installed in multilib packages is bit-to-bit identical
The .pyc files installed in %{python3_sitelib} might conflict between
ix86 and x86_64 when not identical.
This commit is contained in:
parent
4a7c44e04e
commit
1d0068b5c1
@ -6,7 +6,7 @@
|
||||
|
||||
Name: pygobject3
|
||||
Version: 3.42.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Python bindings for GObject Introspection
|
||||
|
||||
# pygobject3 emits an ImportWarning with Pyuthon 3.10.0b1+
|
||||
@ -26,6 +26,10 @@ BuildRequires: python3-devel >= %{python3_version}
|
||||
BuildRequires: python3-cairo-devel >= %{pycairo_version}
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_Appendix/#_byte_compilation_reproducibility
|
||||
%global py_reproducible_pyc_path %{buildroot}%{python3_sitelib}
|
||||
BuildRequires: /usr/bin/marshalparser
|
||||
|
||||
Patch10001: 0001-IntrospectionModule-handle-two-threads-loading-type-.patch
|
||||
|
||||
%description
|
||||
@ -90,6 +94,10 @@ This package contains files required to embed PyGObject
|
||||
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||
|
||||
%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
|
||||
Related: rhbz#1915764
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.42.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user