rpms/perl-TheSchwartz/devel import.log, NONE, 1.1 perl-TheSchwartz-tests.diff, NONE, 1.1 perl-TheSchwartz.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: eseyman

Update of /cvs/pkgs/rpms/perl-TheSchwartz/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30806/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-TheSchwartz-tests.diff perl-TheSchwartz.spec 
Log Message:
Initial import.



--- NEW FILE import.log ---
perl-TheSchwartz-1_07-2_fc11:HEAD:perl-TheSchwartz-1.07-2.fc11.src.rpm:1245270460

perl-TheSchwartz-tests.diff:

--- NEW FILE perl-TheSchwartz-tests.diff ---
diff -up ./t/api.t.orig ./t/api.t
--- ./t/api.t.orig	2009-06-04 11:50:48.000000000 +0200
+++ ./t/api.t	2009-06-04 11:52:03.000000000 +0200
@@ -9,7 +9,7 @@ require 't/lib/db-common.pl';
 use TheSchwartz;
 use Test::More tests => 108;
 
-run_tests(42, sub {
+run_tests(54, sub {
     foreach my $pfx ("", "testprefix_") {
 
         my $client = test_client(dbs      => ['ts1'],
diff -up ./t/pod-coverage.t.orig ./t/pod-coverage.t
--- ./t/pod-coverage.t.orig	2009-06-04 11:53:13.000000000 +0200
+++ ./t/pod-coverage.t	2009-06-04 11:53:47.000000000 +0200
@@ -2,7 +2,7 @@ use strict;
 use Test::More;
 
 eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" if $@;
+plan skip_all => 'Test::Pod::Coverage 1.08 must be installed and $ENV{TEST_AUTHOR} must be defined for testing POD coverage' if ($@ || ! $ENV{'TEST_AUTHOR'});
 
 ## Eventually we would be able to test coverage for all modules with
 ## Test::Pod::all_pod_files(), but let's write the docs first.
diff -up ./t/server-time.t.orig ./t/server-time.t
--- ./t/server-time.t.orig	2009-06-04 11:52:32.000000000 +0200
+++ ./t/server-time.t	2009-06-04 11:51:12.000000000 +0200
@@ -8,7 +8,7 @@ require 't/lib/db-common.pl';
 use TheSchwartz;
 use Test::More tests => 4;
 
-run_tests(4, sub {
+run_tests(2, sub {
     my $client = test_client(dbs => ['ts1']);
 
     my $driver = $client->driver_for( ($client->shuffled_databases)[0] );


--- NEW FILE perl-TheSchwartz.spec ---
Name:           perl-TheSchwartz
Version:        1.07
Release:        2%{?dist}
Summary:        Reliable job queue
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/TheSchwartz/
Source0:        http://www.cpan.org/authors/id/B/BR/BRADFITZ/TheSchwartz-%{version}.tar.gz
# http://rt.cpan.org/Public/Bug/Display.html?id=38570
Patch0:         perl-TheSchwartz-tests.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Data::ObjectDriver)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
TheSchwartz is a reliable job queue system. Your application can put jobs
into the system and your worker processes can pull jobs from the queue
atomically to perform. Failed jobs can be left in the queue to retry later.

%prep
%setup -q -n TheSchwartz-%{version}
%patch0

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

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

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

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CHANGES
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{_bindir}/schwartzmon

%changelog
* Thu Jun 04 2009 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.07-2
- Patch to make the tests pass

* Mon Dec 29 2008 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.07-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-TheSchwartz/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	17 Jun 2009 16:37:30 -0000	1.1
+++ .cvsignore	17 Jun 2009 20:29:02 -0000	1.2
@@ -0,0 +1 @@
+TheSchwartz-1.07.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-TheSchwartz/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	17 Jun 2009 16:37:30 -0000	1.1
+++ sources	17 Jun 2009 20:29:02 -0000	1.2
@@ -0,0 +1 @@
+c5c4c2a0c8a43f2c5e698e8d849f2382  TheSchwartz-1.07.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