Hello community,

here is the log from the commit of package perl-Data-Section for 
openSUSE:Factory
checked in at Wed May 25 10:23:33 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-Data-Section/perl-Data-Section.changes    
2010-12-01 14:11:21.000000000 +0100
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Wed Dec  1 13:11:14 UTC 2010 - [email protected]
+
+- switch to perl_requires macro
+
+-------------------------------------------------------------------
+Tue Aug  3 16:07:27 UTC 2010 - [email protected]
+
+- initial package 0.101620
+  * created by cpanspec 1.78
+

calling whatdependson for head-i586


New:
----
  Data-Section-0.101620-Build_n_Test.patch
  Data-Section-0.101620.tar.gz
  perl-Data-Section.changes
  perl-Data-Section.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Data-Section.spec ++++++
#
# spec file for package perl-Data-Section
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Data-Section
%define cpan_name Data-Section
Summary:        Read multiple hunks of data out of your DATA section
Version:        0.101620
Release:        1
License:        GPL+ or Artistic
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/Data-Section/
Source:         
http://www.cpan.org/modules/by-module/Data/Data-Section-%{version}.tar.gz
# workaround for Test::More >= 0.88 (done_testing)
# only needed for suse_version < 1120
Patch0:         %{cpan_name}-0.101620-Build_n_Test.patch
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros
%if 0%{?suse_version} >= 1120
BuildRequires:  perl(Test::More) => 0.88
%endif
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires:  perl(MRO::Compat) >= 0.09
BuildRequires:  perl(Sub::Exporter) >= 0.979
Requires:       perl(MRO::Compat) >= 0.09
Requires:       perl(Sub::Exporter) >= 0.979

%description
Data::Section provides an easy way to access multiple named chunks of line-
oriented data in your module's DATA section. It was written to allow
modules to store their own templates, but probably has other uses.

Authors:
--------
    Ricardo SIGNES <[email protected]>

%prep
%setup -q -n %{cpan_name}-%{version}
%if 0%{?suse_version} < 1120
%patch0 -p1
%endif

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

%check
%{__make} test

%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes dist.ini LICENSE META.json README

%changelog
++++++ Data-Section-0.101620-Build_n_Test.patch ++++++
diff -ruN Data-Section-0.101620-orig/dist.ini Data-Section-0.101620/dist.ini
--- Data-Section-0.101620-orig/dist.ini 2010-06-11 14:14:39.000000000 +0200
+++ Data-Section-0.101620/dist.ini      2010-08-03 18:13:12.000000000 +0200
@@ -6,7 +6,7 @@
 [Prereq]
 Sub::Exporter = 0.979
 MRO::Compat   = 0.09  ; bugfixes
-Test::More    = 0.88  ; done_testing
+Test::More    = 0
 
 [@Filter]
 bundle = @RJBS
diff -ruN Data-Section-0.101620-orig/Makefile.PL 
Data-Section-0.101620/Makefile.PL
--- Data-Section-0.101620-orig/Makefile.PL      2010-06-11 14:14:39.000000000 
+0200
+++ Data-Section-0.101620/Makefile.PL   2010-08-03 18:13:23.000000000 +0200
@@ -22,7 +22,7 @@
   'PREREQ_PM' => {
     'MRO::Compat' => '0.09',
     'Sub::Exporter' => '0.979',
-    'Test::More' => '0.88'
+    'Test::More' => '0'
   },
   'VERSION' => '0.101620',
   'test' => {
diff -ruN Data-Section-0.101620-orig/META.json Data-Section-0.101620/META.json
--- Data-Section-0.101620-orig/META.json        2010-06-11 14:14:39.000000000 
+0200
+++ Data-Section-0.101620/META.json     2010-08-03 18:14:32.000000000 +0200
@@ -23,7 +23,7 @@
          "requires" : {
             "MRO::Compat" : "0.09",
             "Sub::Exporter" : "0.979",
-            "Test::More" : "0.88"
+            "Test::More" : "0"
          }
       }
    },
diff -ruN Data-Section-0.101620-orig/META.yml Data-Section-0.101620/META.yml
--- Data-Section-0.101620-orig/META.yml 2010-06-11 14:14:39.000000000 +0200
+++ Data-Section-0.101620/META.yml      2010-08-03 18:13:44.000000000 +0200
@@ -15,7 +15,7 @@
 requires:
   MRO::Compat: 0.09
   Sub::Exporter: 0.979
-  Test::More: 0.88
+  Test::More: 0
 resources:
   repository: git://git.codesimply.com/Data-Section.git
 version: 0.101620
diff -ruN Data-Section-0.101620-orig/t/basic.t Data-Section-0.101620/t/basic.t
--- Data-Section-0.101620-orig/t/basic.t        2010-06-11 14:14:39.000000000 
+0200
+++ Data-Section-0.101620/t/basic.t     2010-08-03 18:14:16.000000000 +0200
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 use lib 't/lib';
-use Test::More;
+use Test::More qw(no_plan);
 
 use Parent;
 use Child;
@@ -169,4 +169,4 @@
   "windows newlines work",
 );
 
-done_testing;
+#done_testing;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to