commit 2843b38aae3002324d1a1b4c913476c598b8f2b0 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Feb 19 16:01:42 2013 +0100 Fix the deps and clean the spec a bit perl-POE-Component-Server-SOAP.spec | 40 ++++++++++++++-------------------- 1 files changed, 17 insertions(+), 23 deletions(-) --- diff --git a/perl-POE-Component-Server-SOAP.spec b/perl-POE-Component-Server-SOAP.spec index 446b876..37a23c9 100644 --- a/perl-POE-Component-Server-SOAP.spec +++ b/perl-POE-Component-Server-SOAP.spec @@ -6,20 +6,24 @@ License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/POE-Component-Server-SOAP/ Source0: http://search.cpan.org/CPAN/authors/id/A/AP/APOCAL/POE-Component-Server-SOAP-%{version}.tar.gz - BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -BuildRequires: perl(POE) >= 0.29 -BuildRequires: perl(POE::Component::Server::SimpleHTTP) >= 1.54 -BuildRequires: perl(SOAP::Lite) >= 0.55 -BuildRequires: perl(Test::More) - -### auto-added brs! -BuildRequires: perl(POE::Session) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +BuildRequires: perl +BuildRequires: perl(base) BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(POE) +BuildRequires: perl(POE::Component::Server::SimpleHTTP) +BuildRequires: perl(POE::Component::Server::SimpleHTTP::Response) +BuildRequires: perl(POE::Session) BuildRequires: perl(SOAP::Constants) +BuildRequires: perl(SOAP::Lite) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) + +%{?perl_default_filter} %description This module makes serving SOAP/1.1 requests a breeze in POE. @@ -28,32 +32,22 @@ This module makes serving SOAP/1.1 requests a breeze in POE. %setup -q -n POE-Component-Server-SOAP-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - # fix a non-UTF-8 issue.... cd blib/man3 iconv --from=ISO-8859-1 --to=UTF-8 POE::Component::Server::SOAP.3pm > new mv new POE::Component::Server::SOAP.3pm - %install -rm -rf %{buildroot} - -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 -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc README Changes examples/ t/ %{perl_vendorlib}/* %{_mandir}/man3/* -- 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