Run tests in %check
Related: RHEL-30209
This commit is contained in:
parent
a29510ef60
commit
18620381b6
10
glib2.spec
10
glib2.spec
@ -16,12 +16,10 @@ BuildRequires: gcc
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
# for sys/inotify.h
|
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
# for sys/sdt.h
|
|
||||||
BuildRequires: systemtap-sdt-devel
|
BuildRequires: systemtap-sdt-devel
|
||||||
BuildRequires: pkgconfig(gi-docgen)
|
BuildRequires: pkgconfig(gi-docgen)
|
||||||
BuildRequires: pkgconfig(libelf)
|
BuildRequires: pkgconfig(libelf)
|
||||||
@ -35,6 +33,11 @@ BuildRequires: /usr/bin/g-ir-scanner
|
|||||||
BuildRequires: /usr/bin/marshalparser
|
BuildRequires: /usr/bin/marshalparser
|
||||||
BuildRequires: /usr/bin/rst2man
|
BuildRequires: /usr/bin/rst2man
|
||||||
|
|
||||||
|
# Dependencies for tests
|
||||||
|
BuildRequires: shared-mime-info
|
||||||
|
BuildRequires: /usr/bin/dbus-daemon
|
||||||
|
BuildRequires: /usr/bin/update-desktop-database
|
||||||
|
|
||||||
# For gnutls-hmac.patch. We now dlopen libgnutls.so.30 so that we can build a
|
# For gnutls-hmac.patch. We now dlopen libgnutls.so.30 so that we can build a
|
||||||
# static glib2 without depending on a static build of GnuTLS as well. This will
|
# static glib2 without depending on a static build of GnuTLS as well. This will
|
||||||
# ensure we notice if the GnuTLS soname bumps, so that we can update our patch.
|
# ensure we notice if the GnuTLS soname bumps, so that we can update our patch.
|
||||||
@ -153,6 +156,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%transfiletriggerpostun -- %{_datadir}/glib-2.0/schemas
|
%transfiletriggerpostun -- %{_datadir}/glib-2.0/schemas
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
|
|
||||||
|
%check
|
||||||
|
%meson_test
|
||||||
|
|
||||||
%files -f glib20.lang
|
%files -f glib20.lang
|
||||||
%license LICENSES/LGPL-2.1-or-later.txt
|
%license LICENSES/LGPL-2.1-or-later.txt
|
||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user