import utf8proc-2.6.1-3.module+el8.7.0+15836+939fe0ca

This commit is contained in:
CentOS Sources 2022-09-27 08:07:48 -04:00 committed by Stepan Oksanichenko
parent 5bf96f858c
commit 47b2f08b09
3 changed files with 19 additions and 7 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,14 @@
Summary: Library for processing UTF-8 encoded Unicode strings
Name: utf8proc
Version: 2.1.1
Release: 5%{?dist}
Version: 2.6.1
Release: 3%{?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
BuildRequires: make
BuildRequires: perl
%description
utf8proc is a library for processing UTF-8 encoded Unicode strings.
@ -38,7 +40,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 +53,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,8 +62,19 @@ rm %{buildroot}%{_libdir}/libutf8proc.a
%files devel
%{_includedir}/utf8proc.h
%{_libdir}/libutf8proc.so
%{_libdir}/pkgconfig/libutf8proc.pc
%changelog
* Thu Jun 30 2022 Richard Lescak <rlescak@redhat.com> - 2.6.1-3
- added Build requirements (make, perl)
- old scriptlets replaced with ldconfig_scriptlets
* Thu Jun 30 2022 Richard Lescak <rlescak@redhat.com> - 2.6.1-2
- changed tarball in sources
* Tue Jun 21 2022 Richard Lescak <rlescak@redhat.com> - 2.6.1-1
- rebase to version 2.6.1 (#2097237) (#2078557)
* Mon Aug 05 2019 Lubos Uhliarik <luhliari@redhat.com> - 2.1.1-5
- Resolves: #1695587 - Ensure modular RPM upgrade path