[packages/perl-Gearman-Server] use generic url
glen
glen at pld-linux.org
Tue Nov 25 11:49:05 CET 2014
commit 8a7b5d17814163849c8215713a4e11e78c215c16
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 12:49:01 2014 +0200
use generic url
perl-Gearman-Server.spec | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
---
diff --git a/perl-Gearman-Server.spec b/perl-Gearman-Server.spec
index c03cded..e88888c 100644
--- a/perl-Gearman-Server.spec
+++ b/perl-Gearman-Server.spec
@@ -1,22 +1,20 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Gearman
%define pnam Server
+%include /usr/lib/rpm/macros.perl
Summary: Gearman::Server - function call "router" and load balancer
-#Summary(pl.UTF-8):
Name: perl-Gearman-Server
Version: 1.09
Release: 1
-# same as perl
+# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-authors/id/B/BR/BRADFITZ/Gearman-Server-1.09.tar.gz
+Source0: http://www.cpan.org/modules/by-authors/id/B/BR/BRADFITZ/Gearman-Server-%{version}.tar.gz
# Source0-md5: 3d107089f7266ab91d66d9a7bd90430f
-# generic URL, check or change before uncommenting
-#URL: http://search.cpan.org/dist/Gearman-Server/
+URL: http://search.cpan.org/dist/Gearman-Server/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
@@ -27,9 +25,8 @@ You run a Gearman server (or more likely, many of them for both
high-availability and load balancing), then have workers (using
Gearman::Worker from the Gearman module, or libraries for other
languages) register their ability to do certain functions to all of
-them, and then clients (using Gearman::Client,
-Gearman::Client::Async, etc) request work to be done from one of
-the Gearman servers.
+them, and then clients (using Gearman::Client, Gearman::Client::Async,
+etc) request work to be done from one of the Gearman servers.
The servers connect them, routing function call requests to the
appropriate workers, multiplexing responses to duplicate requests as
@@ -38,10 +35,6 @@ requested, etc.
More than likely, you want to use the provided gearmand wrapper
script, and not use Gearman::Server directly.
-
-# %description -l pl.UTF-8
-# TODO
-
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -54,7 +47,6 @@ script, and not use Gearman::Server directly.
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Gearman-Server.git/commitdiff/8a7b5d17814163849c8215713a4e11e78c215c16
More information about the pld-cvs-commit
mailing list