Compare commits

...

No commits in common. "c8-stream-1.1" and "c9-beta" have entirely different histories.

3 changed files with 39 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/utf8proc-v2.1.1.tar.gz
SOURCES/utf8proc-v2.6.1.tar.gz

View File

@ -1 +1 @@
8c02fc26fbe7ab1c4c0d2fce3efecb4df8d935b9 SOURCES/utf8proc-v2.1.1.tar.gz
f21b3263081adfcbe102cfea8cd4cb02e71f0efc SOURCES/utf8proc-v2.6.1.tar.gz

View File

@ -1,12 +1,13 @@
Summary: Library for processing UTF-8 encoded Unicode strings
Name: utf8proc
Version: 2.1.1
Release: 5%{?dist}
Version: 2.6.1
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: make
BuildRequires: gcc
BuildRequires: perl
%description
utf8proc is a library for processing UTF-8 encoded Unicode strings.
@ -17,13 +18,10 @@ the characters “Hyphen” (U+2010), “Minus” (U+2212) and “Hyphen-Minus
(U+002D, ASCII Minus) all into the ASCII minus sign, to make them
equal for comparisons.
The currently supported Unicode version is 9.0.0.
This package only contains the C library.
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -38,7 +36,7 @@ strings, unless you want to allocate memory yourself.
%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
touch data/NormalizationTest.txt data/GraphemeBreakTest.txt data/Lowercase.txt data/Uppercase.txt
%build
%set_build_flags
@ -51,8 +49,7 @@ make %{?_smp_mflags} check
make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
rm %{buildroot}%{_libdir}/libutf8proc.a
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc LICENSE.md NEWS.md README.md
@ -61,10 +58,39 @@ rm %{buildroot}%{_libdir}/libutf8proc.a
%files devel
%{_includedir}/utf8proc.h
%{_libdir}/libutf8proc.so
%{_libdir}/pkgconfig/libutf8proc.pc
%changelog
* Mon Aug 05 2019 Lubos Uhliarik <luhliari@redhat.com> - 2.1.1-5
- Resolves: #1695587 - Ensure modular RPM upgrade path
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.1-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.1-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Dec 16 2020 Milan Bouchet-Valat <nalimilan@club.fr> - 2.6.1-1
- New upstream release.
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 16 2019 Milan Bouchet-Valat <nalimilan@club.fr> - 2.4.0-1
- New upstream release.
* Sun Apr 21 2019 Milan Bouchet-Valat <nalimilan@club.fr> - 2.3.0-1
- New upstream release.
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jul 23 2018 Joe Orton <jorton@redhat.com> - 2.1.1-4
- update License tag to Unicode and MIT