From 90a9d7be1726491c6c6813bf064a408bb971fbfdbbfe6ac8aa0c473299d76418 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 4 Aug 2009 10:23:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Deep?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + Test-Deep-0.104.tar.bz2 | 3 ++ perl-Test-Deep.changes | 12 ++++++ perl-Test-Deep.spec | 81 +++++++++++++++++++++++++++++++++++++++++ ready | 0 6 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Test-Deep-0.104.tar.bz2 create mode 100644 perl-Test-Deep.changes create mode 100644 perl-Test-Deep.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Test-Deep-0.104.tar.bz2 b/Test-Deep-0.104.tar.bz2 new file mode 100644 index 0000000..7e56dd2 --- /dev/null +++ b/Test-Deep-0.104.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:637aa297c7a96fcde535a48371280c5b4c549ef7b57cfd497d3b8d3c8d78d329 +size 28425 diff --git a/perl-Test-Deep.changes b/perl-Test-Deep.changes new file mode 100644 index 0000000..d55ed64 --- /dev/null +++ b/perl-Test-Deep.changes @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Sat Jul 25 19:42:42 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Sat Jun 20 23:10:07 CEST 2009 - chris@computersalat.de + +- initial obs package 0.104 + diff --git a/perl-Test-Deep.spec b/perl-Test-Deep.spec new file mode 100644 index 0000000..b229b5c --- /dev/null +++ b/perl-Test-Deep.spec @@ -0,0 +1,81 @@ +# +# spec file for package perl-Test-Deep (Version 0.104) +# +# Copyright (c) 2009 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-Test-Deep +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: Extremely flexible deep comparison +Version: 0.104 +Release: 1 +License: Artistic License .. +Group: Development/Libraries/Perl +Url: http://cpan.org/ +Source: http://cpan.org/modules/by-module/Test/%{cpan_name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +#BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) >= 0 +BuildRequires: perl(Test::Tester) >= 0.107 +BuildRequires: perl(Test::NoWarnings) >= 0.02 +# other not perl || perl-base +BuildRequires: perl(Scalar::Util) >= 1.09 +BuildRequires: perl(List::Util) >= 1.09 +Requires: perl = %{perl_version} +# other not perl || perl-base +Requires: perl(Test::Tester) >= 0.107 +Requires: perl(Test::NoWarnings) >= 0.02 +Requires: perl(Scalar::Util) >= 1.09 +Requires: perl(List::Util) >= 1.09 + +%description + + %{cpan_name} module for perl + Test::Deep gives you very flexible ways to check that the result you got is the + result you were expecting. At it's simplest it compares two structures by + going through each level, ensuring that the values match, that arrays and + hashes have the same elements and that references are blessed into the + correct class. It also handles circular data structures without + getting caught in an infinite loop. + Author: Fergal Daly + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +%{__make} + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf ${RPM_BUILD_ROOT} + +%files -f %{name}.files +# normally you only need to check for doc files +%defattr(-,root,root) +%doc CHANGES README + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4