From 441f03c809c0dda8ab013e5e3457aac9de32e047 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 12 Jul 2016 10:44:21 +0200
Subject: 1.130.0 bump

---
 .gitignore                                         |  1 +
 .rpmlint                                           |  2 +
 ...an-Server-v1.130.0-Do-not-use-usr-bin-env.patch | 26 ++++++++++++
 perl-Gearman-Server.spec                           | 49 ++++++++++++++++++----
 sources                                            |  2 +-
 5 files changed, 70 insertions(+), 10 deletions(-)
 create mode 100644 .rpmlint
 create mode 100644 Gearman-Server-v1.130.0-Do-not-use-usr-bin-env.patch

diff --git a/.gitignore b/.gitignore
index fc90db8..65d907b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Gearman-Server-1.11.tar.gz
 /Gearman-Server-1.12.tar.gz
+/Gearman-Server-v1.130.0.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..31ba2a0
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (Async|balancer)");
diff --git a/Gearman-Server-v1.130.0-Do-not-use-usr-bin-env.patch 
b/Gearman-Server-v1.130.0-Do-not-use-usr-bin-env.patch
new file mode 100644
index 0000000..10c92a2
--- /dev/null
+++ b/Gearman-Server-v1.130.0-Do-not-use-usr-bin-env.patch
@@ -0,0 +1,26 @@
+From fb5ab8d3ebd3f9792ba69215a3e93bad5788daf4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
+Date: Tue, 12 Jul 2016 10:41:43 +0200
+Subject: [PATCH] Do not use /usr/bin/env
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Petr Písař <ppi...@redhat.com>
+---
+ bin/gearmand | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/gearmand b/bin/gearmand
+index 6046a99..cca8678 100755
+--- a/bin/gearmand
++++ b/bin/gearmand
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!perl
+ 
+ =head1 NAME
+ 
+-- 
+2.5.5
+
diff --git a/perl-Gearman-Server.spec b/perl-Gearman-Server.spec
index 819bf95..d08c9bf 100644
--- a/perl-Gearman-Server.spec
+++ b/perl-Gearman-Server.spec
@@ -1,18 +1,45 @@
 Name:           perl-Gearman-Server
-Version:        1.12
-Release:        3%{?dist}
-Summary:        Function call "router" and load balancer
+Version:        1.130.0
+Release:        1%{?dist}
+Summary:        Function call router and load balancer
 License:        GPL+ or Artistic
 Group:          System Environment/Daemons
 URL:            http://search.cpan.org/dist/Gearman-Server/
-Source0:        
http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Gearman-Server-%{version}.tar.gz
+Source0:        
http://search.cpan.org/CPAN/authors/id/P/PA/PALIK/Gearman-Server-v%{version}.tar.gz
+# Use absolute interpreter
+Patch0:         Gearman-Server-v1.130.0-Do-not-use-usr-bin-env.patch
 BuildArch:      noarch
-
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl-generators
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Danga::Socket) >= 1.52
+BuildRequires:  perl(Errno)
+BuildRequires:  perl(fields)
+BuildRequires:  perl(Gearman::Util)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(Pod::Usage)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Sys::Hostname)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(version)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Script) >= 1.12
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
-%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Danga::Socket\\)\s*$
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Danga::Socket\\)$
 
 %description
 You run a Gearman server (or more likely, many of them for both high-
@@ -23,7 +50,8 @@ Gearman::Client, Gearman::Client::Async, etc) request work to 
be done from
 one of the Gearman servers.
 
 %prep
-%setup -q -n Gearman-Server-%{version}
+%setup -q -n Gearman-Server-v%{version}
+%patch0 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -31,20 +59,23 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc CHANGES
+%doc CHANGES README.md
 %{_bindir}/gearmand
 %{perl_vendorlib}/Gearman
 %{_mandir}/man1/gearmand.*
 %{_mandir}/man3/Gearman::*.*
 
 %changelog
+* Tue Jul 12 2016 Petr Pisar <ppi...@redhat.com> - 1.130.0-1
+- 1.130.0 bump
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 1.12-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 50d49f0..203b579 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-47ddfceaef24132828e66a45671cc54d  Gearman-Server-1.12.tar.gz
+24265c3748236e095e9d1cfd277f59a0  Gearman-Server-v1.130.0.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Gearman-Server.git/commit/?h=f23&id=441f03c809c0dda8ab013e5e3457aac9de32e047
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to