Switch back to timestamp-based invalidation mode but fix seed
It turns out the hashed-based invalidation mode is buggy.
This commit is contained in:
parent
de2e4aad98
commit
12007a228d
10
glib2.spec
10
glib2.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.60.0
|
Version: 2.60.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A library of handy utility functions
|
Summary: A library of handy utility functions
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -108,8 +108,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
|
|||||||
|
|
||||||
# Perform byte compilation manually to avoid issues with
|
# Perform byte compilation manually to avoid issues with
|
||||||
# irreproducibility of the default invalidation mode, see
|
# irreproducibility of the default invalidation mode, see
|
||||||
# https://www.python.org/dev/peps/pep-0552/.
|
# https://www.python.org/dev/peps/pep-0552/ and
|
||||||
export SOURCE_DATE_EPOCH=0
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1686078
|
||||||
|
export PYTHONHASHSEED=0
|
||||||
%py_byte_compile %{__python3} %{buildroot}%{_datadir}
|
%py_byte_compile %{__python3} %{buildroot}%{_datadir}
|
||||||
|
|
||||||
mv $RPM_BUILD_ROOT%{_bindir}/gio-querymodules $RPM_BUILD_ROOT%{_bindir}/gio-querymodules-%{__isa_bits}
|
mv $RPM_BUILD_ROOT%{_bindir}/gio-querymodules $RPM_BUILD_ROOT%{_bindir}/gio-querymodules-%{__isa_bits}
|
||||||
@ -218,6 +219,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%{_datadir}/installed-tests
|
%{_datadir}/installed-tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 13 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.60.0-3
|
||||||
|
- Switch back to timestamp-based pyc invalidation mode
|
||||||
|
|
||||||
* Wed Mar 6 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.60.0-2
|
* Wed Mar 6 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.60.0-2
|
||||||
- Make sure all .py files have fixed timestamps (fixes issue with
|
- Make sure all .py files have fixed timestamps (fixes issue with
|
||||||
parallel installability of i686 and amd64 -devel packages)
|
parallel installability of i686 and amd64 -devel packages)
|
||||||
|
Loading…
Reference in New Issue
Block a user