8
0

Accepting request 44435 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-Data-Section via accept of submit request 44435 revision 1.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/44435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Section?expand=0&rev=1
This commit is contained in:
Christian Wittmer
2010-08-03 16:53:22 +00:00
committed by Git OBS Bridge
commit 280b637076
6 changed files with 185 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

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

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

View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Tue Aug 3 16:07:27 UTC 2010 - chris@computersalat.de
- initial package 0.101620
* created by cpanspec 1.78

86
perl-Data-Section.spec Normal file
View File

@@ -0,0 +1,86 @@
#
# spec file for package perl-Data-Section (Version 0.101620)
#
# Copyright (c) 2010 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
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%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 = %{perl_version}
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 <rjbs@cpan.org>
%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