Auto sync2gitlab import of perl-Unicode-UTF8-0.62-5.el8.src.rpm

This commit is contained in:
James Antill 2022-05-26 13:15:32 -04:00
parent f9eec72cc9
commit aff55171c9
4 changed files with 168 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/Unicode-UTF8-0.62.tar.gz

1
EMPTY
View File

@ -1 +0,0 @@

166
perl-Unicode-UTF8.spec Normal file
View File

@ -0,0 +1,166 @@
# Rebuild build script using Module::Install::ReadmeFromPod
%if "%{?rhel}" != "6"
%bcond_without perl_Unicode_UTF8_enables_Module_Install_ReadmeFromPod
%else
%bcond_with perl_Unicode_UTF8_enables_Module_Install_ReadmeFromPod
%endif
# Run optional test
%if ! (0%{?rhel})
%bcond_without perl_Unicode_UTF8_enables_optional_test
%else
%bcond_with perl_Unicode_UTF8_enables_optional_test
%endif
Summary: Encoding and decoding of UTF-8 encoding form
Name: perl-Unicode-UTF8
Version: 0.62
Release: 5%{?dist}
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Unicode-UTF8/
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/Unicode-UTF8-%{version}.tar.gz
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
%if %{with perl_Unicode_UTF8_enables_Module_Install_ReadmeFromPod}
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(Module::Install::ReadmeFromPod)
%else
BuildRequires: perl(base)
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(Pod::Text)
BuildRequires: perl(vars)
%endif
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Test Suite
BuildRequires: perl(Encode) >= 1.9801
BuildRequires: perl(IO::File)
BuildRequires: perl(lib)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Fatal) >= 0.006
BuildRequires: perl(Test::More) >= 0.47
%if %{with perl_Unicode_UTF8_enables_optional_test}
# Optional Tests
BuildRequires: perl(Taint::Runtime) >= 0.03
BuildRequires: perl(Test::LeakTrace) >= 0.10
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Variable::Magic)
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Exporter)
Requires: perl(XSLoader)
# Don't "provide" private Perl libs
%{?perl_default_filter}
%description
This module provides functions to encode and decode UTF-8 encoding form as
specified by Unicode and ISO/IEC 10646:2011.
%prep
%setup -q -n Unicode-UTF8-%{version}
# Unbundle inc::Module::Install, we'll use system version instead
# unless we're on EL-6, where there's no Module::Install::ReadmeFromPod
%if %{with perl_Unicode_UTF8_enables_Module_Install_ReadmeFromPod}
rm -rf inc/
%endif
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%doc Changes README
%{perl_vendorarch}/Unicode/
%{perl_vendorarch}/auto/Unicode/
%{_mandir}/man3/Unicode::UTF8.3*
%changelog
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.62-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.62-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.62-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.62-2
- Perl 5.26 rebuild
* Wed Apr 12 2017 Paul Howarth <paul@city-fan.org> - 0.62-1
- Update to 0.62
- Only check for missing Module::Install related modules in Makefile.PL
* Mon Apr 10 2017 Paul Howarth <paul@city-fan.org> - 0.61-1
- Update to 0.61
- Avoid relying on current working directory being in @INC
- Documentation typo fixes
- Drop redundant Group: tag
- Simplify find commands using -empty and -delete
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.60-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-8
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.60-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-5
- Perl 5.22 rebuild
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-4
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Sep 25 2013 Paul Howarth <paul@city-fan.org> - 0.60-1
- Update to 0.60
- Added valid_utf8()
- Skip copy-on-write tests on Perl 5.19
* Mon Sep 2 2013 Paul Howarth <paul@city-fan.org> - 0.59-3
- BR: perl(Scalar::Util) for the test suite (#1003650)
- Add buildreqs for deps of bundled inc::Module::Install for EL-6 build
* Mon Sep 2 2013 Paul Howarth <paul@city-fan.org> - 0.59-2
- Sanitize for Fedora submission
* Mon Sep 2 2013 Paul Howarth <paul@city-fan.org> - 0.59-1
- Initial RPM build

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (Unicode-UTF8-0.62.tar.gz) = 056026ac2ee4c101de5ea6017db59f875121dba8fd23ab5c2ae525effb8cf864e8a1c24588bb2a027792e27568742fc75bd5765694027b110afef867a4b982e0