]> git.pld-linux.org Git - packages/perl-Coro.git/blobdiff - perl-Coro.spec
perl 5.38.0 rebuild
[packages/perl-Coro.git] / perl-Coro.spec
index 2eb07e6044252ccc373c365d804b96790eb71637..30cefdf73906e1d568573f44989e311a8bfb3f7f 100644 (file)
@@ -1,27 +1,29 @@
 #
 # Conditional build:
-%bcond_without tests   # do not perform "make test"
+%bcond_with    tests   # do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    Coro
 %define                pnam    Coro
 Summary:       Coro - do events the coro-way
 Summary(pl.UTF-8):     Coro - obsługa zdarzeń na sposób coro
 Name:          perl-Coro
-Version:       6.41
-Release:       3
+Version:       6.57
+Release:       5
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/%{pnam}-%{version}.tar.gz
-# Source0-md5: 882b3606487db94b35ac309bc7025009
+# Source0-md5: fa5970a2a2f3df9d68d4369c7dde1a55
 Patch0:                kill-blocked-test.patch
-URL:           http://search.cpan.org/dist/Coro/
+URL:           https://metacpan.org/dist/Coro
 BuildRequires: perl-AnyEvent >= 2:5.0
+BuildRequires: perl-Canary-Stability
 BuildRequires: perl-EV >= 1:4.0
 BuildRequires: perl-Event >= 1.08
-BuildRequires: perl-devel >= 1:5.8.2
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.52
+BuildRequires: perl-devel >= 1:5.8.9
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 BuildRequires: sed >= 4.0
 %if %{with tests}
 BuildRequires: perl-AnyEvent-Impl-EV
@@ -55,7 +57,12 @@ wątkowych programów.
 %{__sed} -i "s^/opt/bin/perl^%{_bindir}/perl^" Coro/jit*pl
 
 %build
-echo "y" | %{__perl} Makefile.PL \
+# CORO_INTERFACE: use setjmp on x32 (asm fails tests)
+echo "y" | \
+%ifarch x32
+       CORO_INTERFACE=s \
+%endif
+%{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make} \
        CC="%{__cc}" \
This page took 0.073287 seconds and 4 git commands to generate.