update License tag to Unicode and MIT
BR gcc (#1606627) run minimal tests Resolves: rhbz#1606627
This commit is contained in:
parent
6255a5392b
commit
2c2243f650
@ -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 <jorton@redhat.com> - 2.1.1-4
|
||||
- update License tag to Unicode and MIT
|
||||
- BR gcc (#1606627)
|
||||
- run minimal tests
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user