8
0

Accepting request 183673 from devel:languages:perl

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/183673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Data-Section?expand=0&rev=8
This commit is contained in:
Stephan Kulow
2013-07-22 11:04:44 +00:00
committed by Git OBS Bridge
5 changed files with 38 additions and 104 deletions

View File

@@ -1,66 +0,0 @@
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;

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07fe7bbc0c7a31814c6d849e579610e51b5ca4912d223cc37568a4900f1aa404
size 14913

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33613e5daf0791fc2c5878fd82ef260e944b1e1fa205bcc753c31c62f5b7c7d3
size 17813

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jul 16 12:10:32 UTC 2013 - coolo@suse.com
- updated to 0.101622
add a link to an Advent article about Data-Section
update bugtracker, repo, etc.
- remove Data-Section-0.101620-Build_n_Test.patch
-------------------------------------------------------------------
Sat Nov 19 16:12:48 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Section
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@@ -15,49 +15,48 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Data-Section
Version: 0.101622
Release: 0
%define cpan_name Data-Section
Summary: Read multiple hunks of data out of your DATA section
Version: 0.101621
Release: 1
License: GPL-1.0+ or Artistic-1.0
Summary: read multiple hunks of data out of your DATA section
License: Artistic-1.0 or GPL-1.0+
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
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
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
BuildRequires: perl(Test::More) >= 0.96
#BuildRequires: perl(Child)
#BuildRequires: perl(Data::Section)
#BuildRequires: perl(End)
#BuildRequires: perl(Godfather)
#BuildRequires: perl(Grandchild)
#BuildRequires: perl(Header)
#BuildRequires: perl(I::Child)
#BuildRequires: perl(I::Grandchild)
#BuildRequires: perl(I::Parent)
#BuildRequires: perl(NoData)
#BuildRequires: perl(NoName)
#BuildRequires: perl(Parent)
#BuildRequires: perl(Relaxed)
#BuildRequires: perl(WindowsNewlines)
Requires: perl(MRO::Compat) >= 0.09
Requires: perl(Sub::Exporter) >= 0.979
%{perl_requires}
%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
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 <rjbs@cpan.org>
%prep
%setup -q -n %{cpan_name}-%{version}
%if 0%{?suse_version} < 1120
%patch0 -p1
%endif
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -68,18 +67,11 @@ Authors:
%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_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes dist.ini LICENSE META.json README
%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog