Explicitly create modules dir to fix ELN build

This commit is contained in:
Ondrej Holy 2020-12-04 13:33:13 +01:00
parent 4d9a5aaf01
commit 341fea0648

View File

@ -1,6 +1,6 @@
Name: glib2
Version: 2.67.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: A library of handy utility functions
License: LGPLv2+
@ -140,6 +140,7 @@ export PYTHONHASHSEED=0
mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-%{__isa_bits}
sed -i -e "/^gio_querymodules=/s/gio-querymodules/gio-querymodules-%{__isa_bits}/" %{buildroot}%{_libdir}/pkgconfig/gio-2.0.pc
mkdir -p %{buildroot}%{_libdir}/gio/modules
touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache
%find_lang glib20
@ -242,6 +243,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/installed-tests
%changelog
* Fri Dec 04 2020 Ondrej Holy <oholy@redhat.com> - 2.67.0-7
- Explicitly create modules dir to fix ELN build
* Tue Dec 01 2020 Ondrej Holy and Michael Catanzaro <mcatanzaro@redhat.com> - 2.67.0-6
- Disable glib2-fam in RHEL