Make sure all .py files have fixed timestamps
This commit is contained in:
parent
66f00fe02c
commit
789d0acce0
10
glib2.spec
10
glib2.spec
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.60.0
|
Version: 2.60.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A library of handy utility functions
|
Summary: A library of handy utility functions
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -109,7 +109,9 @@ rm glib/pcre/*.[ch]
|
|||||||
# Since this is a generated .py file, set it to a known timestamp,
|
# Since this is a generated .py file, set it to a known timestamp,
|
||||||
# otherwise it will vary by build time, and thus break multilib -devel
|
# otherwise it will vary by build time, and thus break multilib -devel
|
||||||
# installs.
|
# installs.
|
||||||
touch -r gio/gdbus-2.0/codegen/config.py.in $RPM_BUILD_ROOT/%{_datadir}/glib-2.0/codegen/config.py
|
# Also copy the timestamp for other .py files, because meson doesn't do
|
||||||
|
# this, see https://github.com/mesonbuild/meson/issues/5027.
|
||||||
|
touch -r gio/gdbus-2.0/codegen/config.py.in $RPM_BUILD_ROOT/%{_datadir}/glib-2.0/codegen/*.py
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
|
||||||
|
|
||||||
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 +220,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%{_datadir}/installed-tests
|
%{_datadir}/installed-tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
parallel installability of i686 and amd64 -devel packages)
|
||||||
|
|
||||||
* Mon Mar 04 2019 Kalev Lember <klember@redhat.com> - 2.60.0-1
|
* Mon Mar 04 2019 Kalev Lember <klember@redhat.com> - 2.60.0-1
|
||||||
- Update to 2.60.0
|
- Update to 2.60.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user