import UBI perl-Unicode-LineBreak-2019.001-24.el10
This commit is contained in:
parent
a2f8fc3c35
commit
51f188ed26
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/Unicode-LineBreak-2017.004.tar.gz
|
Unicode-LineBreak-2019.001.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
982ea825b7c2caa4b3ed388751e71f7f34515a34 SOURCES/Unicode-LineBreak-2017.004.tar.gz
|
|
@ -1,22 +1,27 @@
|
|||||||
# Run optional test
|
# Run optional test
|
||||||
|
%if ! (0%{?rhel})
|
||||||
%bcond_without perl_Unicode_LineBreak_enables_optional_test
|
%bcond_without perl_Unicode_LineBreak_enables_optional_test
|
||||||
|
%else
|
||||||
|
%bcond_with perl_Unicode_LineBreak_enables_optional_test
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: perl-Unicode-LineBreak
|
Name: perl-Unicode-LineBreak
|
||||||
Version: 2017.004
|
Version: 2019.001
|
||||||
Release: 6%{?dist}
|
Release: 24%{?dist}
|
||||||
Summary: UAX #14 Unicode Line Breaking Algorithm
|
Summary: UAX #14 Unicode Line Breaking Algorithm
|
||||||
License: GPL+ or Artistic
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
Group: Development/Libraries
|
URL: https://metacpan.org/release/Unicode-LineBreak
|
||||||
URL: http://search.cpan.org/dist/Unicode-LineBreak/
|
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-%{version}.tar.gz
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/Unicode-LineBreak-%{version}.tar.gz
|
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
BuildRequires: libthai-devel
|
BuildRequires: libthai-devel
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(:VERSION) >= 5.8
|
||||||
BuildRequires: perl(Config)
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
@ -30,17 +35,17 @@ BuildRequires: perl(Encode) >= 1.98
|
|||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(MIME::Charset) >= 1.006.2
|
BuildRequires: perl(MIME::Charset) >= 1.006.2
|
||||||
BuildRequires: perl(overload)
|
BuildRequires: perl(overload)
|
||||||
BuildRequires: perl(strict)
|
|
||||||
BuildRequires: perl(vars)
|
BuildRequires: perl(vars)
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
BuildRequires: perl(XSLoader)
|
BuildRequires: perl(XSLoader)
|
||||||
# Tests
|
# Tests
|
||||||
|
BuildRequires: perl(FindBin)
|
||||||
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(Test::More) >= 0.45
|
BuildRequires: perl(Test::More) >= 0.45
|
||||||
%if %{with perl_Unicode_LineBreak_enables_optional_test}
|
%if %{with perl_Unicode_LineBreak_enables_optional_test}
|
||||||
# Optional tests
|
# Optional tests
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
%endif
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
||||||
Requires: perl(Encode) >= 1.98
|
Requires: perl(Encode) >= 1.98
|
||||||
Requires: perl(MIME::Charset) >= 1.006.2
|
Requires: perl(MIME::Charset) >= 1.006.2
|
||||||
|
|
||||||
@ -51,7 +56,7 @@ Requires: perl(MIME::Charset) >= 1.006.2
|
|||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} > 14 || 0%{?rhel} > 6
|
%if 0%{?fedora} || 0%{?rhel} > 6
|
||||||
%{?filter_setup:
|
%{?filter_setup:
|
||||||
%filter_from_requires /perl(Unicode::LineBreak::Constants)/d
|
%filter_from_requires /perl(Unicode::LineBreak::Constants)/d
|
||||||
%filter_from_provides /^perl(Unicode::LineBreak)$/d
|
%filter_from_provides /^perl(Unicode::LineBreak)$/d
|
||||||
@ -64,6 +69,9 @@ Requires: perl(MIME::Charset) >= 1.006.2
|
|||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Unicode::LineBreak\\)$
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Unicode::LineBreak\\)$
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Remove private test modules
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(t::lb.pl\\)$
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(t::lf.pl\\)$
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Unicode::LineBreak performs Line Breaking Algorithm described in Unicode
|
Unicode::LineBreak performs Line Breaking Algorithm described in Unicode
|
||||||
@ -71,21 +79,36 @@ Standards Annex #14 [UAX #14]. East_Asian_Width informative properties
|
|||||||
defined by Annex #11 [UAX #11] will be concerned to determine breaking
|
defined by Annex #11 [UAX #11] will be concerned to determine breaking
|
||||||
positions.
|
positions.
|
||||||
|
|
||||||
|
%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-LineBreak-%{version}
|
%setup -q -n Unicode-LineBreak-%{version}
|
||||||
# Remove bundled library
|
# Remove bundled library
|
||||||
rm -rf sombok
|
rm -rf sombok
|
||||||
sed -i -e '/^sombok/d' MANIFEST
|
sed -i -e '/^sombok/d' MANIFEST
|
||||||
|
# Help generators to recognize 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
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||||
@ -99,6 +122,17 @@ done
|
|||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
# Install tests
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cp -a test-data %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
# Remove author tests
|
||||||
|
rm -f %{buildroot}%{_libexecdir}/%{name}/t/pod.t
|
||||||
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||||
|
#!/bin/sh
|
||||||
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
EOF
|
||||||
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -115,7 +149,100 @@ make test
|
|||||||
%{_mandir}/ja/man3/*
|
%{_mandir}/ja/man3/*
|
||||||
|
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2019.001-24
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 2019.001-23
|
||||||
|
- Bump release for Aug 2024 java mass rebuild
|
||||||
|
|
||||||
|
* Thu Jul 11 2024 Michal Josef Špaček <mspacek@redhat.com> - 2019.001-22
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2019.001-21
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2019.001-17
|
||||||
|
- Perl 5.38 rebuild
|
||||||
|
|
||||||
|
* Thu Jun 01 2023 Michal Josef Špaček <mspacek@redhat.com> - 2019.001-16
|
||||||
|
- Update license to SPDX format
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2019.001-13
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2019.001-10
|
||||||
|
- Perl 5.34 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2019.001-7
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Fri Mar 13 2020 Petr Pisar <ppisar@redhat.com> - 2019.001-6
|
||||||
|
- Specify all dependencies
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2019.001-3
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.001-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 04 2019 Xavier Bachelot <xavier@bachelot.org> - 2019.001-1
|
||||||
|
- Update to 2019.001.
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2018.003-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2018.003-2
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
|
* Tue Apr 17 2018 Xavier Bachelot <xavier@bachelot.org> - 2018.003-1
|
||||||
|
- Update to 2018.003.
|
||||||
|
|
||||||
|
* Thu Mar 1 2018 Florian Weimer <fweimer@redhat.com> - 2017.004-8
|
||||||
|
- Rebuild with new redhat-rpm-config/perl build flags
|
||||||
|
|
||||||
|
* Mon Feb 26 2018 Xavier Bachelot <xavier@bachelot.org> - 2017.004-7
|
||||||
|
- Add BR: gcc.
|
||||||
|
- Clean up spec.
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.004-6
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.004-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue
Block a user