Hi there!
I've made a complicated perl pkg today (instead of sepc file that's very
simple). I've got a build error and I'm mailing here for help :)
In PJ, the spec file and the error here:
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20111203113946.kharec.valstar.31298/log/perl-Search-Tools-0.650.0-1.mga2/build.0.20111203114002.log
Maybe a missing BR? Thanks :)
%define upstream_name Search-Tools
%define upstream_version 0.65
Name: perl-%{upstream_name}
Version: %perl_convert_version %{upstream_version}
Release: %mkrel 1
Summary: High-performance tools for building search applications
License: GPL+ or Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/%{upstream_name}
Source0: http://cpan.metacpan.org/authors/id/K/KA/KARMAN/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl(Data::Dump)
BuildRequires: perl(Encode)
BuildRequires: perl(Encoding::FixLatin)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Slurp)
BuildRequires: perl(Rose::ObjectX::CAF)
BuildRequires: perl(Search::Query)
BuildRequires: perl(Test::More)
BuildArch: noarch
%description
This distribution is a set of utilities for building search applications. Rather than adhering to a particular search application or framework, the goal of Search::Tools is to provide general-purpose methods for common search application features. Think of Search::Tools like a toolbox rather than a hammer.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make
%check
%make test
%install
%makeinstall_std
%files
%doc META.yml Changes README MANIFEST
/usr/src/debug/*
%{_libdir}/debug/.build-id/*
%{_libdir}/debug/*
%{_mandir}/man3/*
%perl_vendorlib/*