|
|
@ -1,11 +1,11 @@
|
|
|
|
Name: perl-Unicode-Collate
|
|
|
|
Name: perl-Unicode-Collate
|
|
|
|
Version: 1.31
|
|
|
|
Version: 1.29
|
|
|
|
Release: 510%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: Unicode Collation Algorithm
|
|
|
|
Summary: Unicode Collation Algorithm
|
|
|
|
# Collate/allkeys.txt: Unicode-DFS-2016 (the file contains a link to
|
|
|
|
# Collate/allkeys.txt: Unicode (the file contains a link to
|
|
|
|
# <http://www.unicode.org/terms_of_use.html>)
|
|
|
|
# <http://www.unicode.org/terms_of_use.html>)
|
|
|
|
# other files: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
# other files: GPL+ or Artistic
|
|
|
|
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-DFS-2016
|
|
|
|
License: (GPL+ or Artistic) and Unicode
|
|
|
|
URL: https://metacpan.org/release/Unicode-Collate
|
|
|
|
URL: https://metacpan.org/release/Unicode-Collate
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
@ -25,6 +25,7 @@ BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Unicode::Normalize)
|
|
|
|
BuildRequires: perl(Unicode::Normalize)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(Unicode::Normalize)
|
|
|
|
Requires: perl(Unicode::Normalize)
|
|
|
|
Conflicts: perl < 4:5.22.0-347
|
|
|
|
Conflicts: perl < 4:5.22.0-347
|
|
|
|
|
|
|
|
|
|
|
@ -32,15 +33,6 @@ Conflicts: perl < 4:5.22.0-347
|
|
|
|
This package is Perl implementation of Unicode Technical Standard #10 (Unicode
|
|
|
|
This package is Perl implementation of Unicode Technical Standard #10 (Unicode
|
|
|
|
Collation Algorithm).
|
|
|
|
Collation Algorithm).
|
|
|
|
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
|
|
|
|
with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Unicode-Collate-%{version}
|
|
|
|
%setup -q -n Unicode-Collate-%{version}
|
|
|
|
|
|
|
|
|
|
|
@ -48,12 +40,6 @@ with "%{_libexecdir}/%{name}/test".
|
|
|
|
rm Collate/Locale/*
|
|
|
|
rm Collate/Locale/*
|
|
|
|
# Collate/CJK/Korean.pm is an input for the mklocale script, do not remove it
|
|
|
|
# Collate/CJK/Korean.pm is an input for the mklocale script, do not remove it
|
|
|
|
|
|
|
|
|
|
|
|
# Help file to recognise the Perl scripts
|
|
|
|
|
|
|
|
for F in t/*.t; do
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# Regenerate code from Collate/allkeys.txt whose authority is
|
|
|
|
# Regenerate code from Collate/allkeys.txt whose authority is
|
|
|
|
# <http://www.unicode.org/Public/UCA/latest/allkeys.txt>
|
|
|
|
# <http://www.unicode.org/Public/UCA/latest/allkeys.txt>
|
|
|
@ -66,20 +52,10 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -delete
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
# Install tests
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
cd %{_libexecdir}/%{name} && exec prove -I . -r -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
|
|
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -88,56 +64,13 @@ make test
|
|
|
|
%{perl_vendorarch}/Unicode*
|
|
|
|
%{perl_vendorarch}/Unicode*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.31-510
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-4
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-510
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.31-503
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-3
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-502
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-501
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-500
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-499
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 06 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.31-491
|
|
|
|
|
|
|
|
- Update license to SPDX format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-490
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-489
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-488
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-1
|
|
|
|
|
|
|
|
- 1.31 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-2
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 07 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-1
|
|
|
|
|
|
|
|
- 1.30 bump
|
|
|
|
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-477
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|