Quote a substituted number of processors in the test script
This commit is contained in:
parent
2070273fff
commit
9abbe07400
@ -4,7 +4,7 @@
|
||||
Summary: ASN.1 encode/decode library
|
||||
Name: perl-Convert-ASN1
|
||||
Version: 0.27
|
||||
Release: 16%{?dist}
|
||||
Release: 17%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Convert-ASN1
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GB/GBARR/Convert-ASN1-%{version}.tar.gz
|
||||
@ -86,7 +86,7 @@ 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)
|
||||
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||
EOF
|
||||
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
|
||||
%{_fixperms} %{buildroot}/*
|
||||
@ -105,6 +105,9 @@ make test
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Oct 30 2019 Petr Pisar <ppisar@redhat.com> - 0.27-17
|
||||
- Quote a substituted number of processors in the test script
|
||||
|
||||
* Wed Aug 28 2019 Petr Pisar <ppisar@redhat.com> - 0.27-16
|
||||
- Modernize spec file
|
||||
- Package upstream tests
|
||||
|
||||
Loading…
Reference in New Issue
Block a user