diff --git a/utf8proc.spec b/utf8proc.spec index bdffe52..0f3366a 100644 --- a/utf8proc.spec +++ b/utf8proc.spec @@ -1,11 +1,12 @@ Summary: Library for processing UTF-8 encoded Unicode strings Name: utf8proc Version: 2.1.1 -Release: 3%{?dist} -License: BSD +Release: 4%{?dist} +License: Unicode and MIT Group: System Environment/Libraries URL: http://julialang.org/utf8proc/ Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz +BuildRequires: gcc %description utf8proc is a library for processing UTF-8 encoded Unicode strings. @@ -35,15 +36,16 @@ strings, unless you want to allocate memory yourself. %prep %setup -qn %{name}-%{version} +# Disable slow tests and tests which require network access +sed -i '/-C bench/d;/\ttest.* data/d' Makefile +touch data/NormalizationTest.txt data/GraphemeBreakTest.txt %build %set_build_flags make %{?_smp_mflags} %check -make %{?_smp_mflags} \ - test/normtest test/graphemetest test/printproperty \ - test/charwidth test/normtest test/graphemetest test/charwidth +make %{?_smp_mflags} check %install make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir} @@ -61,6 +63,11 @@ rm %{buildroot}%{_libdir}/libutf8proc.a %{_libdir}/libutf8proc.so %changelog +* Mon Jul 23 2018 Joe Orton - 2.1.1-4 +- update License tag to Unicode and MIT +- BR gcc (#1606627) +- run minimal tests + * Sat Jul 14 2018 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild