|
|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
Name: perl-Scalar-List-Utils
|
|
|
|
|
Epoch: 5
|
|
|
|
|
Version: 1.63
|
|
|
|
|
Release: 511%{?dist}
|
|
|
|
|
Epoch: 3
|
|
|
|
|
Version: 1.53
|
|
|
|
|
Release: 439%{?dist}
|
|
|
|
|
Summary: A selection of general-utility scalar and list subroutines
|
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Scalar-List-Utils
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-%{version}.tar.gz
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
@ -41,6 +40,7 @@ BuildRequires: perl(Tie::Handle)
|
|
|
|
|
BuildRequires: perl(Tie::Scalar)
|
|
|
|
|
BuildRequires: perl(Tie::StdScalar)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
@ -51,158 +51,30 @@ would be nice to have in the perl core, but the usage would not really be
|
|
|
|
|
high enough to warrant the use of a keyword, and the size so small such
|
|
|
|
|
that being individual extensions would be wasteful.
|
|
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
|
Requires: perl(IO::File)
|
|
|
|
|
Requires: perl(IO::Handle)
|
|
|
|
|
Requires: perl(threads)
|
|
|
|
|
Requires: perl(threads::shared)
|
|
|
|
|
Requires: perl(Tie::Handle)
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
|
with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Scalar-List-Utils-%{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
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -delete
|
|
|
|
|
%{_fixperms} %{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 . -r -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
EOF
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorarch}/auto/List*
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
|
%{perl_vendorarch}/List*
|
|
|
|
|
%{perl_vendorarch}/Scalar*
|
|
|
|
|
%{perl_vendorarch}/Sub*
|
|
|
|
|
%{_mandir}/man3/List*
|
|
|
|
|
%{_mandir}/man3/Scalar*
|
|
|
|
|
%{_mandir}/man3/Sub*
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5:1.63-511
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 5:1.63-510
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5:1.63-504
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2024 Jitka Plesnikova <jplesnik@redhat.com> - 5:1.63-503
|
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5:1.63-502
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5:1.63-501
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5:1.63-500
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 5:1.63-499
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Thu Jun 01 2023 Michal Josef Špaček <mspacek@redhat.com> - 5:1.63-491
|
|
|
|
|
- Update license to SPDX format
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5:1.63-490
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 10 2022 Jan Pazdziora <jpazdziora@redhat.com> - 5:1.63-489
|
|
|
|
|
- 2116427 - Rebase to upstream version 1.63.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5:1.62-489
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5:1.62-488
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Tue Mar 22 2022 Adam Williamson <awilliam@redhat.com> - 5:1.62-464
|
|
|
|
|
- Rebuild with no changes to fix Bodhi issues for F36
|
|
|
|
|
|
|
|
|
|
* Mon Mar 21 2022 Jan Pazdziora <jpazdziora@redhat.com> - 5:1.62-463
|
|
|
|
|
- 2065327 - Rebase to upstream version 1.62.
|
|
|
|
|
|
|
|
|
|
* Fri Feb 18 2022 Jan Pazdziora <jpazdziora@redhat.com> - 5:1.61-463
|
|
|
|
|
- 2055228 - Rebase to upstream version 1.61.
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5:1.60-463
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Oct 08 2021 Jan Pazdziora <jpazdziora@redhat.com> - 5:1.60-462
|
|
|
|
|
- 2012147 - Rebase to upstream version 1.60.
|
|
|
|
|
|
|
|
|
|
* Fri Sep 17 2021 Jan Pazdziora <jpazdziora@redhat.com> - 5:1.59-461
|
|
|
|
|
- 2003382 - Rebase to upstream version 1.59.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5:1.56-461
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5:1.56-460
|
|
|
|
|
- Increase epoch to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Thu Apr 01 2021 Jan Pazdziora <jpazdziora@redhat.com> - 4:1.56-459
|
|
|
|
|
- 1944897 - Rebase to upstream version 1.56.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.55-458
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.55-457
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.55-456
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.55-456
|
|
|
|
|
- Increase epoch to favour standalone package
|
|
|
|
|
|
|
|
|
|
* Thu Apr 16 2020 Jan Pazdziora <jpazdziora@redhat.com> - 3:1.55-441
|
|
|
|
|
- 1823191 - Rebase to upstream version 1.55.
|
|
|
|
|
|
|
|
|
|
* Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 3:1.54-441
|
|
|
|
|
- Spec file cleanups: Use make_build and make_install macros
|
|
|
|
|
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
|
|
|
|
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker
|
|
|
|
|
|
|
|
|
|
* Mon Feb 03 2020 Jan Pazdziora <jpazdziora@redhat.com> - 3:1.54-440
|
|
|
|
|
- 1797333 - Rebase to upstream version 1.54.
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.53-440
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2019 Jan Pazdziora <jpazdziora@redhat.com> - 3:1.53-439
|
|
|
|
|
- 1765091 - Rebase to upstream version 1.53.
|
|
|
|
|
|