Compare commits

..

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/experimental-0.032.tar.gz
SOURCES/experimental-0.022.tar.gz

@ -1 +1 @@
df5e62b2431f5e495a58b81cecd9aa2e85f52dc5 SOURCES/experimental-0.032.tar.gz
1a94a6898133acb011cea92f1b9e3496c333dd80 SOURCES/experimental-0.022.tar.gz

@ -1,16 +1,14 @@
Name: perl-experimental
Version: 0.032
Release: 510%{?dist}
Version: 0.022
Release: 6%{?dist}
Summary: Experimental features made easy
License: GPL-1.0-or-later OR Artistic-1.0-Perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/experimental
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/experimental-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
@ -21,6 +19,7 @@ BuildRequires: perl(feature)
BuildRequires: perl(version)
# Tests:
BuildRequires: perl(Test::More) >= 0.89
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# feature is highly recommended on perl >= 5.10
Requires: perl(feature)
@ -28,43 +27,18 @@ Requires: perl(feature)
This pragma provides an easy and convenient way to enable or disable
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
%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
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
%{_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
%{_fixperms} $RPM_BUILD_ROOT/*
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test
%files
@ -73,71 +47,13 @@ make test
%{perl_vendorlib}/*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.032-510
- Increase release to favour standalone package
* 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
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.022-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon May 03 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.024-1
- 0.024 bump
- Package test
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.022-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.022-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save