ppisar pushed to perl-threads-lite (master). "0.034 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 11 08:28:02 UTC 2015


From 65655de119026cefaf96ce66fac26d3b9981a057 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Mon, 11 May 2015 10:25:26 +0200
Subject: 0.034 bump


diff --git a/.gitignore b/.gitignore
index 402fdc6..3ae916f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /threads-lite-0.031.tar.gz
 /threads-lite-0.032.tar.gz
 /threads-lite-0.033.tar.gz
+/threads-lite-0.034.tar.gz
diff --git a/perl-threads-lite.spec b/perl-threads-lite.spec
index 647f1a1..bf0e99b 100644
--- a/perl-threads-lite.spec
+++ b/perl-threads-lite.spec
@@ -1,13 +1,11 @@
 Name:           perl-threads-lite
-Version:        0.033
-Release:        8%{?dist}
+Version:        0.034
+Release:        1%{?dist}
 Summary:        Actor model threading for Perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/threads-lite/
 Source0:        http://www.cpan.org/authors/id/L/LE/LEONT/threads-lite-%{version}.tar.gz
-# Fix invalid regex and test's issue (CPAN RT#104229)
-Patch0:         threads-lite-0.033-Fix-regex-and-test.patch
 BuildRequires:  perl
 BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::CBuilder)
@@ -40,7 +38,6 @@ queues. It thus facilitates a message passing style of multi-threading.
 
 %prep
 %setup -q -n threads-lite-%{version}
-%patch0 -p1
 
 %build
 perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
@@ -64,6 +61,9 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
 %{_mandir}/man3/*
 
 %changelog
+* Mon May 11 2015 Petr Pisar <ppisar at redhat.com> - 0.034-1
+- 0.034 bump
+
 * Tue May 05 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.033-8
 - Fix regex and test for Perl 5.22 (CPAN RT#104229)
 
diff --git a/sources b/sources
index bbd635e..61a4ebf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d1d823d7ddd14b07d9c5da53e9290da9  threads-lite-0.033.tar.gz
+0badcec4ea5a5c8776c92c09857cd11c  threads-lite-0.034.tar.gz
diff --git a/threads-lite-0.033-Fix-regex-and-test.patch b/threads-lite-0.033-Fix-regex-and-test.patch
deleted file mode 100644
index 4ce56ce..0000000
--- a/threads-lite-0.033-Fix-regex-and-test.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -up threads-lite-0.033/src/tables.h.PL.orig threads-lite-0.033/src/tables.h.PL
---- threads-lite-0.033/src/tables.h.PL.orig	2015-05-05 10:52:26.659277898 +0200
-+++ threads-lite-0.033/src/tables.h.PL	2015-05-05 10:52:46.222506532 +0200
-@@ -228,6 +228,6 @@ STATIC void S_${name}_db_free(pTHX_ ${na
- #define ${name}_db_free(t) S_${name}_db_free(aTHX_ t)
- 
- END
--	$entry =~ s/ \$ { (\w+) } /$replacements{$1}/gxe;
-+	$entry =~ s/ \$ \{ (\w+) \} /$replacements{$1}/gxe;
- 	print $entry;
- }
-diff -up threads-lite-0.033/t/10-basics.t.orig threads-lite-0.033/t/10-basics.t
---- threads-lite-0.033/t/10-basics.t.orig	2015-05-05 14:21:23.752796837 +0200
-+++ threads-lite-0.033/t/10-basics.t	2015-05-05 14:22:01.727260997 +0200
-@@ -6,17 +6,16 @@ use experimental 'smartmatch';
- 
- use Test::More tests => 6;
- use Test::Differences;
--use Time::HiRes qw/sleep/;
- 
- use threads::lite qw/spawn receive self/;
- 
--my $thread = spawn({ modules => ['Carp'], monitor => 1 }, \&thread );
-+my $thread = spawn({ modules => ['Carp', 'Time::HiRes'], monitor => 1 }, \&thread );
- 
- $thread->send(self());
- 
- sub thread {
- 	my $other = threads::lite::receiveq;
--	sleep .1;
-+	Time::HiRes::sleep(.1);
- 	$other->send('foo');
- 	$other->send('bar');
- 	$other->send('something else');
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-threads-lite.git/commit/?h=master&id=65655de119026cefaf96ce66fac26d3b9981a057


More information about the scm-commits mailing list