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