539c16
%global base_version 1.25
539c16
Name:           perl-Unicode-Normalize
539c16
Version:        1.27
539c16
Release:        461%{?dist}
539c16
Summary:        Unicode Normalization Forms
539c16
License:        GPL+ or Artistic
539c16
URL:            https://metacpan.org/release/Unicode-Normalize
539c16
Source0:        https://cpan.metacpan.org/authors/id/K/KH/KHW/Unicode-Normalize-%{base_version}.tar.gz
539c16
# Unbundled from perl 5.28.0-RC1
539c16
Patch0:         Unicode-Normalize-1.25-Upgrade-to-1.26.patch
539c16
# Unbundled from perl 5.32.0
539c16
Patch1:         Unicode-Normalize-1.25-Upgrade-to-1.27.patch
539c16
BuildRequires:  coreutils
539c16
BuildRequires:  findutils
539c16
BuildRequires:  gcc
539c16
BuildRequires:  make
539c16
BuildRequires:  perl-devel
539c16
BuildRequires:  perl-generators
539c16
BuildRequires:  perl-interpreter
539c16
# unicore/CombiningClass.pl and unicore/Decomposition.pl from perl-libs
539c16
BuildRequires:  perl-libs
539c16
BuildRequires:  perl(bytes)
539c16
BuildRequires:  perl(Carp)
539c16
BuildRequires:  perl(constant)
539c16
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
539c16
BuildRequires:  perl(File::Spec)
539c16
BuildRequires:  perl(SelectSaver)
539c16
BuildRequires:  perl(strict)
539c16
BuildRequires:  perl(warnings)
539c16
# Run-time:
539c16
BuildRequires:  perl(Exporter)
539c16
BuildRequires:  perl(XSLoader)
539c16
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
539c16
Conflicts:      perl < 4:5.22.0-347
539c16
539c16
%description
539c16
This package provides Perl functions that can convert strings into various
539c16
Unicode normalization forms as defined in Unicode Standard Annex #15.
539c16
539c16
%prep
539c16
%setup -q -n Unicode-Normalize-%{base_version}
539c16
%patch0 -p1
539c16
%patch1 -p1
539c16
539c16
%build
539c16
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
539c16
%{make_build}
539c16
539c16
%install
539c16
%{make_install}
539c16
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
539c16
%{_fixperms} $RPM_BUILD_ROOT/*
539c16
539c16
%check
539c16
make test
539c16
539c16
%files
539c16
%license LICENSE
539c16
%doc Changes README
539c16
%{perl_vendorarch}/auto/*
539c16
%{perl_vendorarch}/Unicode
539c16
%{_mandir}/man3/*
539c16
539c16
%changelog
539c16
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.27-461
539c16
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
539c16
  Related: rhbz#1991688
539c16
539c16
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.27-460
539c16
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
539c16
539c16
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-459
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
539c16
539c16
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-458
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
539c16
539c16
* Tue Jul 21 2020 Petr Pisar <ppisar@redhat.com> - 1.27-457
539c16
- Modernize a spec file
539c16
- Apply a forgotten Unicode-Normalize-1.25-Upgrade-to-1.27.patch patch
539c16
539c16
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-456
539c16
- Upgrade to 1.27 as provided in perl-5.32.0
539c16
539c16
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-440
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
539c16
539c16
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-439
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
539c16
539c16
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-438
539c16
- Increase release to favour standalone package
539c16
539c16
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-418
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
539c16
539c16
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-417
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
539c16
539c16
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-416
539c16
- Increase release to favour standalone package
539c16
539c16
* Thu May 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-1
539c16
- Upgrade to 1.26 as provided in perl-5.28.0-RC1
539c16
539c16
* Wed Mar 07 2018 Petr Pisar <ppisar@redhat.com> - 1.25-397
539c16
- Modernize spec file
539c16
539c16
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-396
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
539c16
539c16
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-395
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
539c16
539c16
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-394
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
539c16
539c16
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-393
539c16
- Perl 5.26 rebuild
539c16
539c16
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-367
539c16
- Fixes for removal '.' from @INC in Perl 5.26
539c16
539c16
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-366
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
539c16
539c16
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-365
539c16
- Increase release to favour standalone package
539c16
539c16
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-2
539c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
539c16
539c16
* Fri Dec 18 2015 Petr Ĺ abata <contyk@redhat.com> - 1.25-1
539c16
- 1.25 bump
539c16
539c16
* Thu Dec 03 2015 Petr Pisar <ppisar@redhat.com> - 1.24-1
539c16
- 1.24 bump
539c16
539c16
* Tue Oct 27 2015 Petr Pisar <ppisar@redhat.com> - 1.23-1
539c16
- 1.23 bump
539c16
539c16
* Fri Oct 09 2015 Petr Pisar <ppisar@redhat.com> - 1.21-1
539c16
- 1.21 bump
539c16
539c16
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 1.19-1
539c16
- 1.19 bump
539c16
539c16
* Thu Jul 02 2015 Petr Pisar <ppisar@redhat.com> 1.18-348
539c16
- Specfile autogenerated by cpanspec 1.78.