rpms/perl-Catalyst-Model-XMLRPC/F-9 config.patch, NONE, 1.1 import.log, NONE, 1.1 perl-Catalyst-Model-XMLRPC.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: cweyl

Update of /cvs/extras/rpms/perl-Catalyst-Model-XMLRPC/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28617

Modified Files:
	.cvsignore sources 
Added Files:
	config.patch import.log perl-Catalyst-Model-XMLRPC.spec 
Log Message:
pseudo-branch of perl-Catalyst-Model-XMLRPC to F-9

config.patch:

--- NEW FILE config.patch ---
Otherwise we fail as:

[cweyl@athena Catalyst-Model-XMLRPC-0.04]$ XMLRPC_TEST_LIVE=1 make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01use............ok                                                        
t/02pod............skipped
        all skipped: set TEST_POD to enable this test
t/03podcoverage....skipped
        all skipped: set TEST_POD to enable this test
t/04execute........Can't use an undefined value as a HASH reference at /usr/lib/perl5/vendor_perl/5.10.0/Catalyst/Component.pm line 93.
# Looks like your test died before it could output anything.
t/04execute........dubious                                                   
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
Failed Test   Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/04execute.t  255 65280     3    6  1-3
2 tests skipped.
Failed 1/4 test scripts. 3/5 subtests failed.
Files=4, Tests=5,  1 wallclock secs ( 0.28 cusr +  0.04 csys =  0.32 CPU)
Failed 1/4 test programs. 3/5 subtests failed.

diff -ur Catalyst-Model-XMLRPC-0.04.orig/lib/Catalyst/Model/XMLRPC.pm Catalyst-Model-XMLRPC-0.04/lib/Catalyst/Model/XMLRPC.pm
--- Catalyst-Model-XMLRPC-0.04.orig/lib/Catalyst/Model/XMLRPC.pm	2007-07-04 03:30:24.000000000 -0700
+++ Catalyst-Model-XMLRPC-0.04/lib/Catalyst/Model/XMLRPC.pm	2008-09-18 08:20:36.314621277 -0700
@@ -16,7 +16,7 @@
     my ($class, $c, $config) = @_;
 
     my $self = $class->NEXT::new($c, $config);
-    $self->config($config);
+    $self->config($config) if defined $config;
 
     return $self;
 }


--- NEW FILE import.log ---
perl-Catalyst-Model-XMLRPC-0_04-2_fc9:HEAD:perl-Catalyst-Model-XMLRPC-0.04-2.fc9.src.rpm:1224769513


--- NEW FILE perl-Catalyst-Model-XMLRPC.spec ---
Name:           perl-Catalyst-Model-XMLRPC
Version:        0.04
Release:        3%{?dist}
Summary:        XMLRPC model class for Catalyst
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Catalyst-Model-XMLRPC/
Source0:        http://www.cpan.org/authors/id/F/FM/FMERGES/Catalyst-Model-XMLRPC-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

Patch0:         config.patch

BuildRequires:  perl(Catalyst)
BuildRequires:  perl(Catalyst::Devel)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(RPC::XML)
BuildRequires:  perl(Test::More)
# optional tests
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)

# not automagically picked up...
Requires:       perl(Catalyst::Model)

# keep rpmlint happy
%define broot %{buildroot}

%description
This model class uses RPC::XML::Client to invoke remote procedure calls
using XML-RPC.

%prep
%setup -q -n Catalyst-Model-XMLRPC-%{version}
%patch0 -p1

# note we first filter out the bits in _docdir...
cat << \EOF > %{name}-prov
#!/bin/sh
FOO=`perl -p -e 's|%{broot}%{_docdir}/%{name}-%{version}\S+||'`
%{__perl_provides} $FOO 
EOF

%define __perl_provides %{_builddir}/Catalyst-Model-XMLRPC-%{version}/%{name}-prov
chmod +x %{__perl_provides}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
# network tests will fail in the buildsys.
%{?_with_network_tests: XMLRPC_TEST_LIVE=1} TEST_POD=1 make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Oct 23 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.04-3
- bump

* Thu Sep 18 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.04-2
- workaround buildroot/prep rpmlint false warning
- push perl/sed magic in prep into patch0

* Mon Jun 02 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.04-1
- Specfile autogenerated by cpanspec 1.75.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Model-XMLRPC/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Oct 2008 10:23:49 -0000	1.1
+++ .cvsignore	23 Oct 2008 14:51:39 -0000	1.2
@@ -0,0 +1 @@
+Catalyst-Model-XMLRPC-0.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Model-XMLRPC/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Oct 2008 10:23:49 -0000	1.1
+++ sources	23 Oct 2008 14:51:39 -0000	1.2
@@ -0,0 +1 @@
+62db4b24d66a56b4f22187452e8ab9a6  Catalyst-Model-XMLRPC-0.04.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux