Compare commits

..

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

@ -1,8 +1,8 @@
Summary: I/O on in-core objects like strings and arrays for Perl Summary: I/O on in-core objects like strings and arrays for Perl
Name: perl-IO-stringy Name: perl-IO-stringy
Version: 2.113 Version: 2.113
Release: 7%{?dist} Release: 17%{?dist}
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/IO-stringy URL: https://metacpan.org/release/IO-stringy
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Stringy-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Stringy-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -12,6 +12,7 @@ BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime # Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
@ -32,8 +33,8 @@ BuildRequires: perl(Test::More) >= 0.88
# Optional Tests # Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs) BuildRequires: perl(CPAN::Meta::Prereqs)
# Runtime # Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # (none)
# New upstream maintainer for 2.112 finally got the dist name right # New upstream maintainer for 2.112 finally got the dist name right
Provides: perl-IO-Stringy = %{version}-%{release} Provides: perl-IO-Stringy = %{version}-%{release}
@ -55,27 +56,44 @@ object in an IO::Handle-like wrapper... so you can just use OO syntax
and stop worrying about whether your function's caller handed you a and stop worrying about whether your function's caller handed you a
string, a globref, or a FileHandle. string, a globref, or a FileHandle.
%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 IO-Stringy-%{version} %setup -q -n IO-Stringy-%{version}
# 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 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=%{buildroot} %{make_install}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
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
%files %files
%if 0%{?_licensedir:1}
%license COPYING LICENSE %license COPYING LICENSE
%else
%doc COPYING LICENSE
%endif
%doc Changes examples/ README %doc Changes examples/ README
%{perl_vendorlib}/IO/ %{perl_vendorlib}/IO/
%{_mandir}/man3/IO::AtomicFile.3* %{_mandir}/man3/IO::AtomicFile.3*
@ -87,13 +105,46 @@ make test
%{_mandir}/man3/IO::Wrap.3* %{_mandir}/man3/IO::Wrap.3*
%{_mandir}/man3/IO::WrapTie.3* %{_mandir}/man3/IO::WrapTie.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.113-7 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.113-17
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Wed Jul 24 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.113-16
- Package tests
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.113-15
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.113-9
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.113-6 * Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.113-6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-5 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.113-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save