Fix missing build flags

Closes RHBZ #1573115.
This commit is contained in:
Milan Bouchet-Valat 2018-04-30 10:43:17 +02:00
parent f2db92ea98
commit 16603d9794
No known key found for this signature in database
GPG Key ID: C40AF671A8FAC5C9

View File

@ -1,7 +1,7 @@
Summary: Library for processing UTF-8 encoded Unicode strings
Name: utf8proc
Version: 2.1.1
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://julialang.org/utf8proc/
@ -37,10 +37,11 @@ strings, unless you want to allocate memory yourself.
%setup -qn %{name}-%{version}
%build
make %{?_smp_mflags} CFLAGS="%{optflags}"
%set_build_flags
make %{?_smp_mflags}
%check
make %{?_smp_mflags} CFLAGS="%{optflags}" \
make %{?_smp_mflags} \
test/normtest test/graphemetest test/printproperty \
test/charwidth test/normtest test/graphemetest test/charwidth
@ -60,7 +61,10 @@ rm %{buildroot}%{_libdir}/libutf8proc.a
%{_libdir}/libutf8proc.so
%changelog
* Fri Apr 27 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.1
* Mon Apr 30 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.1-2
- Fix missing build flags (RHBZ #1573115).
* Fri Apr 27 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.1-1
- New upstream release.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5