[perl-Gearman/f20] 1.12 bump; Modernize spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 1dfbdb7a2f42738adcbcc4df6ddc57c98cd24987
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Fri Dec 19 09:24:56 2014 +0100

    1.12 bump; Modernize spec file

 .gitignore        |    1 +
 perl-Gearman.spec |   63 ++++++++++++++++++++++++++++++++---------------------
 sources           |    2 +-
 3 files changed, 40 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7b892a4..519463a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Gearman-1.11.tar.gz
+/Gearman-1.12.tar.gz
diff --git a/perl-Gearman.spec b/perl-Gearman.spec
index 8cdf964..8d73c0f 100644
--- a/perl-Gearman.spec
+++ b/perl-Gearman.spec
@@ -1,6 +1,6 @@
 Name:           perl-Gearman
-Version:        1.11
-Release:        10%{?dist}
+Version:        1.12
+Release:        1%{?dist}
 Summary:        Distributed job system
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,54 +8,67 @@ URL:            http://danga.com/gearman/
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Gearman-%{version}.tar.gz
 BuildArch:      noarch
 
-BuildRequires:  perl(Test::More)
+
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Errno)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(fields)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(String::CRC32)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Time::HiRes)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Gearman::Client\\)$
 
 %description
-Gearman is a system to farm out work to other machines,
-dispatching function calls to machines that are better suited to do work,
-to do work in parallel, to load balance lots of function calls,
-or to call functions between languages.
+Gearman provides a generic application framework to farm out work to other
+machines or processes that are better suited to do the work. It allows you
+to do work in parallel, to load balance processing, and to call functions
+between languages. 
 
 %prep
 %setup -q -n Gearman-%{version}
 
-# Filter double proved for Gearman::Client:
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
-  sed -e '/^perl(Gearman::Client)$/d'
-EOF
-
-%define __perl_provides %{_builddir}/Gearman-%{version}/%{name}-prov
-chmod +x %{__perl_provides}
-
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc CHANGES HACKING TODO
 %{perl_vendorlib}/Gearman
 %{_mandir}/man3/Gearman::*.*
 
 %changelog
+* Thu Dec 18 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.12-1
+- 1.12 bump
+- Modernize spec file
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.11-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index f2a7b01..c73d46b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-abb58b0f8c152d6a7b381677b5320079  Gearman-1.11.tar.gz
+e6065973b6052bc1229b2740c374025b  Gearman-1.12.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux