Use C.UTF-8 instead of en_US.UTF-8 when running the test cases
Because of https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot Add desktop-file-utils, python3-gobject, python3-gobject-base, gtk3, dconf, dbus-x11, ibus to BuildRequires, this seems to be not in the chroot by default anymore in f29 and rawhide.
This commit is contained in:
parent
f93f84a1c3
commit
85b48a584c
@ -1,6 +1,6 @@
|
||||
Name: ibus-typing-booster
|
||||
Version: 2.1.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A completion input method
|
||||
License: GPLv3+, ASL 2.0
|
||||
Group: System Environment/Libraries
|
||||
@ -39,6 +39,9 @@ BuildRequires: m17n-lib
|
||||
BuildRequires: m17n-db-extras
|
||||
BuildRequires: python3-enchant
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: python3-gobject
|
||||
BuildRequires: python3-gobject-base
|
||||
BuildRequires: hunspell-cs
|
||||
BuildRequires: hunspell-de
|
||||
BuildRequires: hunspell-en
|
||||
@ -47,6 +50,10 @@ BuildRequires: hunspell-fr
|
||||
BuildRequires: hunspell-it
|
||||
BuildRequires: hunspell-ko
|
||||
BuildRequires: glib2
|
||||
BuildRequires: gtk3
|
||||
BuildRequires: dconf
|
||||
BuildRequires: dbus-x11
|
||||
BuildRequires: ibus
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -94,7 +101,7 @@ make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkg
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export LC_ALL=C.UTF-8
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
||||
desktop-file-validate \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-typing-booster.desktop
|
||||
@ -163,6 +170,12 @@ make check || cat ./tests/test-suite.log
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 07 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.3-2
|
||||
- Use C.UTF-8 instead of en_US.UTF-8 when running the test cases.
|
||||
(Because of https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot)
|
||||
- Add desktop-file-utils, python3-gobject, python3-gobject-base, gtk3,
|
||||
dconf, dbus-x11, ibus to BuildRequires.
|
||||
|
||||
* Mon Sep 24 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.3-1
|
||||
- Require the Python interpreter directly instead of using the package name
|
||||
- Related: rhbz#1619153
|
||||
|
Loading…
Reference in New Issue
Block a user