Blame SPECS/perl-XString.spec

2f1258
Name:		perl-XString
2f1258
Version:	0.005
2f1258
Release:	4%{?dist}
2f1258
Summary:	Isolated String helpers from B
2f1258
License:	GPL+ or Artistic
2f1258
URL:		https://metacpan.org/release/XString
2f1258
Source0:	https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/XString-%{version}.tar.gz
2f1258
# Build
2f1258
BuildRequires:	coreutils
2f1258
BuildRequires:	findutils
2f1258
BuildRequires:	gcc
2f1258
BuildRequires:	make
2f1258
BuildRequires:	perl-devel
2f1258
BuildRequires:	perl-generators
2f1258
BuildRequires:	perl-interpreter
2f1258
BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
2f1258
# Module
2f1258
BuildRequires:	perl(:VERSION) >= 5.10.0
2f1258
BuildRequires:	perl(strict)
2f1258
BuildRequires:	perl(warnings)
2f1258
BuildRequires:	perl(XSLoader)
2f1258
# Test Suite
2f1258
BuildRequires:	perl(B)
2f1258
BuildRequires:	perl(File::Spec)
2f1258
BuildRequires:	perl(Test::More) >= 0.88
2f1258
# Optional Tests
2f1258
BuildRequires:	perl(CPAN::Meta) >= 2.120900
2f1258
BuildRequires:	perl(CPAN::Meta::Prereqs)
2f1258
# Runtime
2f1258
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2f1258
Requires:	perl(XSLoader)
2f1258
2f1258
%description
2f1258
XString provides the B string helpers in one isolated package. Right now only
2f1258
cstring and perlstring are available.
2f1258
2f1258
%prep
2f1258
%setup -q -n XString-%{version}
2f1258
2f1258
%build
2f1258
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
2f1258
%{make_build}
2f1258
2f1258
%install
2f1258
%{make_install}
2f1258
find %{buildroot} -type f -name '*.bs' -empty -delete
2f1258
%{_fixperms} -c %{buildroot}
2f1258
2f1258
%check
2f1258
make test
2f1258
2f1258
%files
2f1258
%license LICENSE
2f1258
%doc Changes README
2f1258
%{perl_vendorarch}/XString.pm
2f1258
%{perl_vendorarch}/auto/XString/
2f1258
%{_mandir}/man3/XString.3*
2f1258
2f1258
%changelog
2f1258
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.005-4
2f1258
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
2f1258
  Related: rhbz#1991688
2f1258
2f1258
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.005-3
2f1258
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2f1258
2f1258
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.005-2
2f1258
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2f1258
2f1258
* Tue Oct 20 2020 Paul Howarth <paul@city-fan.org> - 0.005-1
2f1258
- Update to 0.005
2f1258
  - Fix cstring for Perl 5.32 (GH#6, GH#7)
2f1258
  - Remove unneeded module dependencies (GH#2)
2f1258
  - Add compatibility with Perl 5.8 (GH#9)
2f1258
2f1258
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-5
2f1258
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2f1258
2f1258
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-4
2f1258
- Perl 5.32 rebuild
2f1258
2f1258
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-3
2f1258
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2f1258
2f1258
* Wed Nov 27 2019 Paul Howarth <paul@city-fan.org> - 0.002-2
2f1258
- Incorporate feedback from package review (#1776513)
2f1258
  - BR: findutils
2f1258
  - BR: perl(CPAN::Meta::Prereqs)
2f1258
  - Need perl(ExtUtils::MakeMaker) >= 6.76
2f1258
  - Add reference to upstream ticket about unnecessary build requirements
2f1258
    https://github.com/atoomic/XString/issues/2
2f1258
  - Add run-time dependency on perl(XSLoader)
2f1258
2f1258
* Mon Nov 25 2019 Paul Howarth <paul@city-fan.org> - 0.002-1
2f1258
- Initial RPM version