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

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

 



commit 4215d1593dbbb6e97133b06909b2cc0a72cf5b76
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Fri Dec 19 09:07:58 2014 +0100

    1.12 bump; Modernize spec file

 .gitignore               |    1 +
 perl-Gearman-Server.spec |   20 +++++++++++---------
 sources                  |    2 +-
 3 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0c4011e..fc90db8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Gearman-Server-1.11.tar.gz
+/Gearman-Server-1.12.tar.gz
diff --git a/perl-Gearman-Server.spec b/perl-Gearman-Server.spec
index 220dbf1..7142209 100644
--- a/perl-Gearman-Server.spec
+++ b/perl-Gearman-Server.spec
@@ -1,6 +1,6 @@
 Name:           perl-Gearman-Server
-Version:        1.11
-Release:        11%{?dist}
+Version:        1.12
+Release:        1%{?dist}
 Summary:        Function call "router" and load balancer
 License:        GPL+ or Artistic
 Group:          System Environment/Daemons
@@ -9,7 +9,9 @@ Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Gearman-Ser
 BuildArch:      noarch
 
 BuildRequires:  perl(ExtUtils::MakeMaker)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Danga::Socket\\)\s*$
 
 %description
 You run a Gearman server (or more likely, many of them for both high-
@@ -23,22 +25,18 @@ one of the Gearman servers.
 %setup -q -n Gearman-Server-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc CHANGES
 %{_bindir}/gearmand
 %{perl_vendorlib}/Gearman
@@ -46,6 +44,10 @@ make test
 %{_mandir}/man3/Gearman::*.*
 
 %changelog
+* Thu Dec 18 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.12-1
+- 1.12 bump
+- Modernize spec file
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.11-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index f79b98b..50d49f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-78d53a9ab2aa37f71935282501ba5a25  Gearman-Server-1.11.tar.gz
+47ddfceaef24132828e66a45671cc54d  Gearman-Server-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