Use set_build_flags before running tests
This ensures that the test programs use consistent CFLAGS and LDFLAGS and that we aren't mixing objects built with different flags.
This commit is contained in:
parent
1be90a26b8
commit
35a201dc88
@ -1,7 +1,7 @@
|
||||
Summary: Library for processing UTF-8 encoded Unicode strings
|
||||
Name: utf8proc
|
||||
Version: 2.6.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: Unicode and MIT
|
||||
URL: http://julialang.org/utf8proc/
|
||||
Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
|
||||
@ -43,6 +43,7 @@ touch data/NormalizationTest.txt data/GraphemeBreakTest.txt data/Lowercase.txt d
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%set_build_flags
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%install
|
||||
@ -61,6 +62,9 @@ rm %{buildroot}%{_libdir}/libutf8proc.a
|
||||
%{_libdir}/pkgconfig/libutf8proc.pc
|
||||
|
||||
%changelog
|
||||
* Thu Nov 11 2021 Tom Stellard <tstellar@redhat.com> - 2.6.1-4
|
||||
- Use set_build_flags before running tests
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user