forked from pool/perl-Mojo-IOLoop-ReadWriteProcess
Accepting request 741104 from devel:languages:perl:autoupdate
- Change the `find` call for modifying permissions to leave also shell scripts and files in the t/ directory alone - updated to 0.24 see /usr/share/doc/packages/perl-Mojo-IOLoop-ReadWriteProcess/Changes 0.24 2019-10-15T11:11:50Z - Fix compatibility with Mojolicious 8.23 by kraih OBS-URL: https://build.opensuse.org/request/show/741104 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojo-IOLoop-ReadWriteProcess?expand=0&rev=15
This commit is contained in:
@@ -17,22 +17,24 @@
|
||||
|
||||
|
||||
Name: perl-Mojo-IOLoop-ReadWriteProcess
|
||||
Version: 0.23
|
||||
Version: 0.24
|
||||
Release: 0
|
||||
%define cpan_name Mojo-IOLoop-ReadWriteProcess
|
||||
Summary: Execute external programs or internal code blocks as separate process
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Mojo-IOLoop-ReadWriteProcess/
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MU/MUDLER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(IPC::SharedMem)
|
||||
BuildRequires: perl(Module::Build) >= 0.400500
|
||||
BuildRequires: perl(Mojolicious) >= 7.24
|
||||
BuildRequires: perl(Test::More) >= 0.98
|
||||
Requires: perl(IPC::SharedMem)
|
||||
Requires: perl(Mojolicious) >= 7.24
|
||||
%{perl_requires}
|
||||
|
||||
@@ -41,15 +43,13 @@ Mojo::IOLoop::ReadWriteProcess is yet another process manager.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
perl Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/issues/4
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939460
|
||||
rm t/10_cgroupv?.t
|
||||
./Build test
|
||||
|
||||
%install
|
||||
@@ -58,7 +58,7 @@ rm t/10_cgroupv?.t
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes codecov.yml minil.toml README.md
|
||||
%doc Changes circle.yml codecov.yml minil.toml README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user