commit adb8d331a6db0f6bb498c2107fe48ddcc898ea85 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Nov 14 11:18:04 2012 +0100 BuildRequire perl(Carp) perl-HTTP-Message.spec | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) --- diff --git a/perl-HTTP-Message.spec b/perl-HTTP-Message.spec index 6bfd7d6..4cbd5d4 100644 --- a/perl-HTTP-Message.spec +++ b/perl-HTTP-Message.spec @@ -1,6 +1,6 @@ Name: perl-HTTP-Message Version: 6.06 -Release: 1%{?dist} +Release: 2%{?dist} Summary: HTTP style message License: GPL+ or Artistic Group: Development/Libraries @@ -9,6 +9,7 @@ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Message-%{version} BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: +BuildRequires: perl(Carp) BuildRequires: perl(Compress::Raw::Zlib) BuildRequires: perl(Encode) >= 2.21 BuildRequires: perl(Encode::Locale) >= 1 @@ -30,7 +31,7 @@ BuildRequires: perl(URI) >= 1.10 BuildRequires: perl(Test) BuildRequires: perl(Test::More) # Testing requires Time::Local on MacOS only -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Compress::Raw::Zlib) Requires: perl(Encode) >= 2.21 Requires: perl(Encode::Locale) >= 1 @@ -62,13 +63,13 @@ requests, responses and the headers contained within them. %setup -q -n HTTP-Message-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* %check make test @@ -79,6 +80,10 @@ make test %{_mandir}/man3/* %changelog +* Wed Nov 14 2012 Petr Šabata <contyk@xxxxxxxxxx> - 6.06-2 +- BuildRequire perl(Carp) +- Modernize the spec and drop command macros + * Mon Oct 22 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 6.06-1 - 6.06 bump -- 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