|
|
@ -1,14 +1,16 @@
|
|
|
|
Name: perl-experimental
|
|
|
|
Name: perl-experimental
|
|
|
|
Version: 0.022
|
|
|
|
Version: 0.032
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 510%{?dist}
|
|
|
|
Summary: Experimental features made easy
|
|
|
|
Summary: Experimental features made easy
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
URL: https://metacpan.org/release/experimental
|
|
|
|
URL: https://metacpan.org/release/experimental
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/experimental-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/experimental-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
@ -19,7 +21,6 @@ BuildRequires: perl(feature)
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(Test::More) >= 0.89
|
|
|
|
BuildRequires: perl(Test::More) >= 0.89
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
# feature is highly recommended on perl >= 5.10
|
|
|
|
# feature is highly recommended on perl >= 5.10
|
|
|
|
Requires: perl(feature)
|
|
|
|
Requires: perl(feature)
|
|
|
|
|
|
|
|
|
|
|
@ -27,18 +28,43 @@ Requires: perl(feature)
|
|
|
|
This pragma provides an easy and convenient way to enable or disable
|
|
|
|
This pragma provides an easy and convenient way to enable or disable
|
|
|
|
experimental features.
|
|
|
|
experimental features.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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 experimental-%{version}
|
|
|
|
%setup -q -n experimental-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Help file to recognise the 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 NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{make_build}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_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 . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
|
|
|
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -47,13 +73,71 @@ make test
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.022-6
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.032-510
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.032-1
|
|
|
|
|
|
|
|
- 0.032 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.031-503
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-502
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-501
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-500
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.031-499
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 01 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.031-1
|
|
|
|
|
|
|
|
- 0.031 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.030-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 16 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.030-1
|
|
|
|
|
|
|
|
- 0.030 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 26 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.029-1
|
|
|
|
|
|
|
|
- 0.029 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.028-489
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.028-488
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 26 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.028-1
|
|
|
|
|
|
|
|
- 0.028 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.027-1
|
|
|
|
|
|
|
|
- 0.027 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.025-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 02 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.025-1
|
|
|
|
|
|
|
|
- 0.025 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.024-478
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.024-477
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.022-5
|
|
|
|
* Mon May 03 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.024-1
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- 0.024 bump
|
|
|
|
|
|
|
|
- Package test
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.022-4
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.022-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|