RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/perl-XString#c6baa8512278c0336c589785e9bb61911dc8f96f
This commit is contained in:
Troy Dawson 2020-10-14 15:56:44 -07:00
parent d8337806aa
commit 081134d199
5 changed files with 92 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/XString-[0-9.]*.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# perl-XString
The perl-XString package

3
perl-XString.rpmlintrc Normal file
View File

@ -0,0 +1,3 @@
from Config import *
addFilter("spelling-error %description -l en_US (c|perl)string -> ")

84
perl-XString.spec Normal file
View File

@ -0,0 +1,84 @@
Name: perl-XString
Version: 0.002
Release: 5%{?dist}
Summary: Isolated String helpers from B
License: GPL+ or Artistic
URL: https://metacpan.org/release/XString
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/XString-%{version}.tar.gz
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Module
BuildRequires: perl(:VERSION) >= 5.10.0
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Test Suite
BuildRequires: perl(B)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More) >= 0.88
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs)
# Requirements from upstream metadata that are not actually used
# https://github.com/atoomic/XString/issues/2
BuildRequires: perl(Test2::Bundle::Extended)
BuildRequires: perl(Test2::Plugin::NoWarnings)
BuildRequires: perl(Test2::Tools::Explain)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(XSLoader)
%description
XString provides the B string helpers in one isolated package. Right now only
cstring and perlstring are available.
%prep
%setup -q -n XString-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorarch}/XString.pm
%{perl_vendorarch}/auto/XString/
%{_mandir}/man3/XString.3*
%changelog
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-4
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Nov 27 2019 Paul Howarth <paul@city-fan.org> - 0.002-2
- Incorporate feedback from package review (#1776513)
- BR: findutils
- BR: perl(CPAN::Meta::Prereqs)
- Need perl(ExtUtils::MakeMaker) >= 6.76
- Add reference to upstream ticket about unnecessary build requirements
https://github.com/atoomic/XString/issues/2
- Add run-time dependency on perl(XSLoader)
* Mon Nov 25 2019 Paul Howarth <paul@city-fan.org> - 0.002-1
- Initial RPM version

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (XString-0.002.tar.gz) = 5fb9a3baec891485d0ad32b9aec3c1a48ff6ab7aa47e3d289127cbe2b7ec9bd7a16da9e2ccd349cdd513af62bd85a9ce1b1a04f90ecf67f2a161c187a8abd613