update License tag to Unicode and MIT

BR gcc (#1606627)
run minimal tests
Resolves: rhbz#1606627
This commit is contained in:
Joe Orton 2018-07-23 08:37:31 +01:00
parent 6255a5392b
commit 2c2243f650

View File

@ -1,11 +1,12 @@
Summary: Library for processing UTF-8 encoded Unicode strings Summary: Library for processing UTF-8 encoded Unicode strings
Name: utf8proc Name: utf8proc
Version: 2.1.1 Version: 2.1.1
Release: 3%{?dist} Release: 4%{?dist}
License: BSD License: Unicode and MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://julialang.org/utf8proc/ URL: http://julialang.org/utf8proc/
Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
BuildRequires: gcc
%description %description
utf8proc is a library for processing UTF-8 encoded Unicode strings. utf8proc is a library for processing UTF-8 encoded Unicode strings.
@ -35,15 +36,16 @@ strings, unless you want to allocate memory yourself.
%prep %prep
%setup -qn %{name}-%{version} %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 %build
%set_build_flags %set_build_flags
make %{?_smp_mflags} make %{?_smp_mflags}
%check %check
make %{?_smp_mflags} \ make %{?_smp_mflags} check
test/normtest test/graphemetest test/printproperty \
test/charwidth test/normtest test/graphemetest test/charwidth
%install %install
make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir} make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
@ -61,6 +63,11 @@ rm %{buildroot}%{_libdir}/libutf8proc.a
%{_libdir}/libutf8proc.so %{_libdir}/libutf8proc.so
%changelog %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 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild