commit dcafde3466adc316f670fa2c992d8f83c72a2b3e Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Thu Jan 17 14:45:36 2013 +0100 Polish the rough edges perl-Gravatar-URL.spec | 31 +++++++++++++++---------------- 1 files changed, 15 insertions(+), 16 deletions(-) --- diff --git a/perl-Gravatar-URL.spec b/perl-Gravatar-URL.spec index 6e87cf5..bfe6852 100644 --- a/perl-Gravatar-URL.spec +++ b/perl-Gravatar-URL.spec @@ -1,25 +1,23 @@ Name: perl-Gravatar-URL Version: 1.06 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Make URLs for Gravatars from an email address License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Gravatar-URL/ Source0: http://www.cpan.org/authors/id/M/MS/MSCHWERN/Gravatar-URL-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(parent) +BuildRequires: perl(Carp) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(Exporter) BuildRequires: perl(Module::Build) BuildRequires: perl(Net::DNS::Resolver) -BuildRequires: perl(Test::More) >= 0.4 -BuildRequires: perl(Test::Warn) >= 0.11 +BuildRequires: perl(parent) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Warn) BuildRequires: perl(URI::Escape) -Requires: perl(parent) -Requires: perl(Carp) -Requires: perl(Digest::MD5) -Requires: perl(Digest::SHA) -Requires: perl(Net::DNS::Resolver) -Requires: perl(URI::Escape) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description A Gravatar is a Globally Recognized Avatar for a given email address. This @@ -31,14 +29,12 @@ the image from gravatar.com. This module does that. %setup -q -n Gravatar-URL-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* %check ./Build test @@ -49,6 +45,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man3/* %changelog +* Thu Jan 17 2013 Petr Šabata <contyk@xxxxxxxxxx> - 1.06-2 +- Polish the rough edges + * Thu Aug 30 2012 Michiel Beijen michiel.beijen@xxxxxxxxx 1.06-1 - Updated version after comments. -- 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