0.37 bump

This commit is contained in:
Petr Písař 2021-04-06 12:30:12 +02:00
parent f7687bb5e9
commit 342f4d5ba9
4 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/Object-Pad-0.34.tar.gz
/Object-Pad-0.35.tar.gz
/Object-Pad-0.36.tar.gz
/Object-Pad-0.37.tar.gz

View File

@ -0,0 +1,2 @@
from Config import *
addFilter("-tests\.noarch: W: no-documentation")

View File

@ -4,7 +4,7 @@
%bcond_without perl_Object_Pad_enables_optional_test
Name: perl-Object-Pad
Version: 0.36
Version: 0.37
Release: 1%{?dist}
Summary: Simple syntax for lexical slot-based objects
License: GPL+ or Artistic
@ -103,6 +103,7 @@ perl Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS"
%install
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
# Install tests
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
cp -a t %{buildroot}/%{_libexecdir}/%{name}
@ -114,8 +115,6 @@ cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
# Correct permissions
%{_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}')
@ -132,6 +131,9 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print
%{_libexecdir}/%{name}
%changelog
* Tue Apr 06 2021 Petr Pisar <ppisar@redhat.com> - 0.37-1
- 0.37 bump
* Fri Feb 19 2021 Petr Pisar <ppisar@redhat.com> - 0.36-1
- 0.36 bump
- Package tests

View File

@ -1 +1 @@
SHA512 (Object-Pad-0.36.tar.gz) = 6a140341916ecc0b6bd80d8a83f8bd2bbdbb91596ffd8880ffd59c8a26db762f43dc8c58e0a6515ea6a077ac7755099ab125a932d326c38ab536bca7bca8d9d4
SHA512 (Object-Pad-0.37.tar.gz) = 3b3150c90253193e38349b40afc03ed9db962ff264575b6d5fc9156d8f65a2691c34df0e48c805e7a141564981c3ccb777267ca41c53b52955521fdd30dc1d03