commit aa0fe7101167c077133e9bfc41a2dc52c27d5d24 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Fri Dec 19 08:53:40 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 ba803b4..3a7189e 100644 --- a/perl-Gearman-Server.spec +++ b/perl-Gearman-Server.spec @@ -1,6 +1,6 @@ Name: perl-Gearman-Server -Version: 1.11 -Release: 12%{?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 + * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.11-12 - Perl 5.20 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