Accepting request 45937 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-Hash-AutoHash-Args via accept of submit request 45937 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/45937 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Hash-AutoHash-Args?expand=0&rev=1
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal 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
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					.osc
 | 
				
			||||||
							
								
								
									
										3
									
								
								Hash-AutoHash-Args-1.12.tar.bz2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Hash-AutoHash-Args-1.12.tar.bz2
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					version https://git-lfs.github.com/spec/v1
 | 
				
			||||||
 | 
					oid sha256:65ba1986037a20465ef701feec202542db323be2df33822c24e9ce5f01fd0d4a
 | 
				
			||||||
 | 
					size 19299
 | 
				
			||||||
							
								
								
									
										208
									
								
								Hash-AutoHash-Args-1.12_Build_and_Test.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										208
									
								
								Hash-AutoHash-Args-1.12_Build_and_Test.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,208 @@
 | 
				
			|||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/Build.PL Hash-AutoHash-Args-1.12/Build.PL
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/Build.PL	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/Build.PL	2010-07-29 10:20:48.000000000 +0200
 | 
				
			||||||
 | 
					@@ -18,7 +18,7 @@
 | 
				
			||||||
 | 
					    license             => 'perl',
 | 
				
			||||||
 | 
					    dist_author         => q{Nat Goodman <natg@shore.net>},
 | 
				
			||||||
 | 
					    dist_version_from   => 'lib/Hash/AutoHash/Args.pm',
 | 
				
			||||||
 | 
					-   build_requires => {'Test::More' => 0.88,
 | 
				
			||||||
 | 
					+   build_requires => {'Test::More' => 0,
 | 
				
			||||||
 | 
					 		      'Test::Deep' => 0,
 | 
				
			||||||
 | 
					 		      'Exporter' => 0,
 | 
				
			||||||
 | 
					 		     },
 | 
				
			||||||
 | 
					Only in Hash-AutoHash-Args-1.12: Makefile
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.000.code_exists.t Hash-AutoHash-Args-1.12/t/autoargs.000.code_exists.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.000.code_exists.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.000.code_exists.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -8,4 +8,4 @@
 | 
				
			||||||
 | 
					   use_ok('Hash::AutoHash::Args::V0');
 | 
				
			||||||
 | 
					 }
 | 
				
			||||||
 | 
					 diag( "Testing Hash::AutoHash::Args $Hash::AutoHash::Args::VERSION, Perl $], $^X" );
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.001.boilerplate.t Hash-AutoHash-Args-1.12/t/autoargs.001.boilerplate.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.001.boilerplate.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.001.boilerplate.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -50,7 +50,7 @@
 | 
				
			||||||
 | 
					 	      );
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 module_boilerplate_ok('lib/Hash/AutoHash/Args.pm');
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 # }
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.002.pod.t Hash-AutoHash-Args-1.12/t/autoargs.002.pod.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.002.pod.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.002.pod.t	2010-07-29 10:30:54.000000000 +0200
 | 
				
			||||||
 | 
					@@ -11,4 +11,4 @@
 | 
				
			||||||
 | 
					 plan skip_all => "Test::Pod $min_tp required for testing POD" if $@;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 all_pod_files_ok(all_pod_files());
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.010.basics.t Hash-AutoHash-Args-1.12/t/autoargs.010.basics.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.010.basics.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.010.basics.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -2,7 +2,7 @@
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args::V0;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 sub test_basics {
 | 
				
			||||||
 | 
					@@ -74,4 +74,4 @@
 | 
				
			||||||
 | 
					 test_basics(0);
 | 
				
			||||||
 | 
					 test_basics(1);
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.020.class_methods.t Hash-AutoHash-Args-1.12/t/autoargs.020.class_methods.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.020.class_methods.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.020.class_methods.t	2010-07-29 10:32:10.000000000 +0200
 | 
				
			||||||
 | 
					@@ -1,14 +1,14 @@
 | 
				
			||||||
 | 
					 use lib qw(t);
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 use autohashUtil;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args::V0;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-note "Testing main class";
 | 
				
			||||||
 | 
					+#note "Testing main class";
 | 
				
			||||||
 | 
					 test_class_methods('Hash::AutoHash::Args','autoargs_set');
 | 
				
			||||||
 | 
					-note "Testing V0 class";
 | 
				
			||||||
 | 
					+#note "Testing V0 class";
 | 
				
			||||||
 | 
					 test_class_methods('Hash::AutoHash::Args::V0','autoargs_set');
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.020.special_keys.t Hash-AutoHash-Args-1.12/t/autoargs.020.special_keys.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.020.special_keys.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.020.special_keys.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -1,6 +1,6 @@
 | 
				
			||||||
 | 
					 use lib qw(t);
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 use autohashUtil;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					@@ -46,4 +46,4 @@
 | 
				
			||||||
 | 
					    map {my $copy=$_; $copy=~s/^autohash/autoargs/; $copy} @Hash::AutoHash::SUBCLASS_EXPORT_OK);
 | 
				
			||||||
 | 
					 test_special_keys(1,@keys);
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.030.functions.t Hash-AutoHash-Args-1.12/t/autoargs.030.functions.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.030.functions.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.030.functions.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -2,7 +2,7 @@
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args::V0;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 #################################################################################
 | 
				
			||||||
 | 
					@@ -169,4 +169,4 @@
 | 
				
			||||||
 | 
					 test_exported_functions(0);
 | 
				
			||||||
 | 
					 test_exported_functions(1);
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.030.v0_methods.t Hash-AutoHash-Args-1.12/t/autoargs.030.v0_methods.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.030.v0_methods.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.030.v0_methods.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -2,7 +2,7 @@
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args::V0;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 #################################################################################
 | 
				
			||||||
 | 
					@@ -76,4 +76,4 @@
 | 
				
			||||||
 | 
					 	     ArG3=>'changed value31','--arg3'=>'changed value32',-ARG3=>'changed value33',)],
 | 
				
			||||||
 | 
					 	   'V1 set_args');
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.031.alias.t Hash-AutoHash-Args-1.12/t/autoargs.031.alias.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.031.alias.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.031.alias.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -2,7 +2,7 @@
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args qw(autoargs_alias);
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args::V0;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 #################################################################################
 | 
				
			||||||
 | 
					@@ -41,4 +41,4 @@
 | 
				
			||||||
 | 
					 test_exported_functions(0);
 | 
				
			||||||
 | 
					 test_exported_functions(1);
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.098.docs.t Hash-AutoHash-Args-1.12/t/autoargs.098.docs.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.098.docs.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.098.docs.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -1,7 +1,7 @@
 | 
				
			||||||
 | 
					 use lib qw(t);
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					@@ -299,4 +299,4 @@
 | 
				
			||||||
 | 
					 ok(new Hash::AutoHash::Args(name=>'Joe'),'new as class method');
 | 
				
			||||||
 | 
					 ok(!$args->new,'new as object method');
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.099.v0_docs.t Hash-AutoHash-Args-1.12/t/autoargs.099.v0_docs.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.099.v0_docs.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.099.v0_docs.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -1,7 +1,7 @@
 | 
				
			||||||
 | 
					 use lib qw(t);
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args::V0;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 ########################################
 | 
				
			||||||
 | 
					@@ -55,4 +55,4 @@
 | 
				
			||||||
 | 
					 my($name,$first_name,$last_name)=@$args{qw(name first_name last_name)};
 | 
				
			||||||
 | 
					 cmp_deeply([$name,$first_name,$last_name],['Joe the Plumber','Joe','Plumber'],'set_args');
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
 | 
					diff -udr Hash-AutoHash-Args-1.12.old/t/autoargs.100.grow_slot.t Hash-AutoHash-Args-1.12/t/autoargs.100.grow_slot.t
 | 
				
			||||||
 | 
					--- Hash-AutoHash-Args-1.12.old/t/autoargs.100.grow_slot.t	2010-02-24 00:33:28.000000000 +0100
 | 
				
			||||||
 | 
					+++ Hash-AutoHash-Args-1.12/t/autoargs.100.grow_slot.t	2010-07-29 10:23:11.000000000 +0200
 | 
				
			||||||
 | 
					@@ -5,7 +5,7 @@
 | 
				
			||||||
 | 
					 use Carp;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args;
 | 
				
			||||||
 | 
					 use Hash::AutoHash::Args::V0;
 | 
				
			||||||
 | 
					-use Test::More;
 | 
				
			||||||
 | 
					+use Test::More qw(no_plan);
 | 
				
			||||||
 | 
					 use Test::Deep;
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 my $obj=bless {name=>'I am an object'},'Object';
 | 
				
			||||||
 | 
					@@ -29,4 +29,4 @@
 | 
				
			||||||
 | 
					 cmp_deeply($args->obj,[$obj,$obj,$obj],
 | 
				
			||||||
 | 
					 	   'V0 arg=>three objects: ARRAY slot stays ARRAY');
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					-done_testing();
 | 
				
			||||||
 | 
					+#done_testing();
 | 
				
			||||||
							
								
								
									
										11
									
								
								perl-Hash-AutoHash-Args.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								perl-Hash-AutoHash-Args.changes
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Sat Aug 21 19:11:13 UTC 2010 - chris@computersalat.de
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- changelog to changes file
 | 
				
			||||||
 | 
					- fix deps 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Thu Jul 29 19:56:41 UTC 2010 - kai.blin@biotech.uni-tuebingen.de
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Initial spec file
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										87
									
								
								perl-Hash-AutoHash-Args.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										87
									
								
								perl-Hash-AutoHash-Args.spec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,87 @@
 | 
				
			|||||||
 | 
					#
 | 
				
			||||||
 | 
					# spec file for package perl-Hash-AutoHash-Args (Version 1.12)
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# 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-Hash-AutoHash-Args
 | 
				
			||||||
 | 
					%define cpan_name Hash-AutoHash-Args
 | 
				
			||||||
 | 
					Summary:        Object-oriented processing of keyword-based argument lists
 | 
				
			||||||
 | 
					Version:        1.12
 | 
				
			||||||
 | 
					Release:        1
 | 
				
			||||||
 | 
					License:        GPL+ or Artistic
 | 
				
			||||||
 | 
					Group:          Development/Libraries/Perl
 | 
				
			||||||
 | 
					Url:            http://search.cpan.org/dist/Hash-AutoHash-Args/
 | 
				
			||||||
 | 
					#Source:         http://www.cpan.org/modules/by-module/Hash/Hash-AutoHash-Args-%{version}.tar.gz
 | 
				
			||||||
 | 
					Source:         %{cpan_name}-%{version}.tar.bz2
 | 
				
			||||||
 | 
					Patch0:		%{cpan_name}-%{version}_Build_and_Test.patch
 | 
				
			||||||
 | 
					BuildArch:      noarch
 | 
				
			||||||
 | 
					BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
				
			||||||
 | 
					BuildRequires:  perl
 | 
				
			||||||
 | 
					BuildRequires:  perl(Module::Build)
 | 
				
			||||||
 | 
					%if 0%{?suse_version} < 1120
 | 
				
			||||||
 | 
					BuildRequires:  perl-macros
 | 
				
			||||||
 | 
					%endif
 | 
				
			||||||
 | 
					%if 0%{?suse_version} > 1120
 | 
				
			||||||
 | 
					BuildRequires:  perl(Test::More) >= 0.88
 | 
				
			||||||
 | 
					%endif
 | 
				
			||||||
 | 
					BuildRequires:  perl(Carp)
 | 
				
			||||||
 | 
					BuildRequires:  perl(Exporter)
 | 
				
			||||||
 | 
					BuildRequires:  perl(Hash::AutoHash) >= 1.10
 | 
				
			||||||
 | 
					BuildRequires:  perl(Scalar::Util) >= 1.01
 | 
				
			||||||
 | 
					BuildRequires:  perl(Test::Deep)
 | 
				
			||||||
 | 
					BuildRequires:  perl(Tie::Hash) >= 1
 | 
				
			||||||
 | 
					Requires:       perl = %{perl_version}
 | 
				
			||||||
 | 
					Requires:       perl(Carp)
 | 
				
			||||||
 | 
					Requires:       perl(Hash::AutoHash) >= 1.10
 | 
				
			||||||
 | 
					Requires:       perl(Scalar::Util) >= 1.01
 | 
				
			||||||
 | 
					Requires:       perl(Tie::Hash) >= 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%description
 | 
				
			||||||
 | 
					This class simplifies the handling of keyword argument lists. It replaces
 | 
				
			||||||
 | 
					Class::AutoClass::Args. See "DIFFERENCES FROM Class::AutoClass::Args" for a
 | 
				
			||||||
 | 
					discussion of what's new. See Hash::AutoHash::Args::V0 for a subclass which
 | 
				
			||||||
 | 
					is more compatible with the original.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Authors:
 | 
				
			||||||
 | 
					--------
 | 
				
			||||||
 | 
					    Nat Goodman, <natg at shore.net>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%prep
 | 
				
			||||||
 | 
					%setup -q -n %{cpan_name}-%{version}
 | 
				
			||||||
 | 
					%if 0%{?suse_version} <= 1120
 | 
				
			||||||
 | 
					%patch0 -p1
 | 
				
			||||||
 | 
					%endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%build
 | 
				
			||||||
 | 
					%{__perl} Build.PL installdirs=vendor
 | 
				
			||||||
 | 
					./Build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%check
 | 
				
			||||||
 | 
					./Build test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%install
 | 
				
			||||||
 | 
					./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 | 
				
			||||||
 | 
					%perl_gen_filelist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%clean
 | 
				
			||||||
 | 
					%{__rm} -rf $RPM_BUILD_ROOT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%files -f %{name}.files
 | 
				
			||||||
 | 
					%defattr(-,root,root,-)
 | 
				
			||||||
 | 
					%doc Changes README
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%changelog
 | 
				
			||||||
		Reference in New Issue
	
	Block a user