mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
fish.spec: run all tests
This commit is contained in:
parent
2c01e67a74
commit
4548f4f4b0
1 changed files with 14 additions and 0 deletions
14
fish.spec.in
14
fish.spec.in
|
@ -25,6 +25,13 @@ BuildRequires: gcc48 gcc48-c++
|
|||
BuildRequires: pcre2-devel
|
||||
%endif
|
||||
|
||||
# for tests
|
||||
BuildRequires: expect
|
||||
%if 0%{?fedora}
|
||||
# Need the en_US.utf-8 locale at a minimum
|
||||
BuildRequires: glibc-langpack-en
|
||||
%endif
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: python
|
||||
|
@ -73,6 +80,13 @@ make %{?_smp_mflags}
|
|||
%endif
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
# OpenSUSE does out-of-tree builds and defines __builddir
|
||||
%if 0%{?__builddir:1}
|
||||
cd %__builddir
|
||||
%endif
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
|
Loading…
Reference in a new issue