0.04
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-DateManip?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
									
								
								DateTime-Format-DateManip-0.04.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								DateTime-Format-DateManip-0.04.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					version https://git-lfs.github.com/spec/v1
 | 
				
			||||||
 | 
					oid sha256:2077c9a420e3c0659b61298bff4ede1269120cf690bfeb35f49f6e6c6be8ee43
 | 
				
			||||||
 | 
					size 14460
 | 
				
			||||||
							
								
								
									
										20
									
								
								perl-DateTime-Format-DateManip-fix_test_est.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								perl-DateTime-Format-DateManip-fix_test_est.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					--- t/01conversions.t.orig	2010-08-23 02:21:33.000000000 +0200
 | 
				
			||||||
 | 
					+++ t/01conversions.t	2010-08-23 02:22:01.000000000 +0200
 | 
				
			||||||
 | 
					@@ -10,7 +10,7 @@
 | 
				
			||||||
 | 
					 my $dfdm = "DateTime::Format::DateManip";
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 ## Set the timezone for Date::Manip and DateTime
 | 
				
			||||||
 | 
					-my $dm_tz = "EST";
 | 
				
			||||||
 | 
					+my $dm_tz = "US/Eastern";
 | 
				
			||||||
 | 
					 my $dt_tz = "US/Eastern";
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 # Setup Date::Manip manually so we can force the TZ to beat a config
 | 
				
			||||||
 | 
					@@ -21,7 +21,7 @@
 | 
				
			||||||
 | 
					 my @dm_to_dt_tests = 
 | 
				
			||||||
 | 
					     (["March 23, 2003" =>
 | 
				
			||||||
 | 
					       DateTime->new(year => 2003, month => 3, day => 23, time_zone => $dt_tz) ],
 | 
				
			||||||
 | 
					-     ["March 23, 2003 12:00 EST" =>
 | 
				
			||||||
 | 
					+     ["March 23, 2003 12:00 US/Eastern" =>
 | 
				
			||||||
 | 
					       DateTime->new(year => 2003, month => 3, day => 23,
 | 
				
			||||||
 | 
					 		    hour => 12,   time_zone => $dt_tz) ],
 | 
				
			||||||
 | 
					      );
 | 
				
			||||||
							
								
								
									
										5
									
								
								perl-DateTime-Format-DateManip.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								perl-DateTime-Format-DateManip.changes
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Mon Aug 23 00:23:07 UTC 2010 - pascal.bleser@opensuse.org
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- initial package (0.04)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										58
									
								
								perl-DateTime-Format-DateManip.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								perl-DateTime-Format-DateManip.spec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
				
			|||||||
 | 
					# vim: set sw=4 ts=4 et nu:
 | 
				
			||||||
 | 
					# norootforbuild
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Name:           perl-DateTime-Format-DateManip
 | 
				
			||||||
 | 
					Version:        0.04
 | 
				
			||||||
 | 
					Release:        0
 | 
				
			||||||
 | 
					Summary:        Convert Date::Manip dates and durations to DateTimes and vice versa
 | 
				
			||||||
 | 
					Source:         http://search.cpan.org/CPAN/authors/id/B/BB/BBENNETT/dt-fmt-datemanip/DateTime-Format-DateManip-%{version}.tar.gz
 | 
				
			||||||
 | 
					# see https://rt.cpan.org/Public/Bug/Display.html?id=55771
 | 
				
			||||||
 | 
					Patch1:         perl-DateTime-Format-DateManip-fix_test_est.patch
 | 
				
			||||||
 | 
					URL:            http://search.cpan.org/dist/DateTime-Format-DateManip/
 | 
				
			||||||
 | 
					Group:          Development/Libraries/Perl
 | 
				
			||||||
 | 
					License:        Perl License
 | 
				
			||||||
 | 
					BuildRoot:      %{_tmppath}/build-%{name}-%{version}
 | 
				
			||||||
 | 
					Requires:       perl = %{perl_version}
 | 
				
			||||||
 | 
					BuildRequires:  make perl
 | 
				
			||||||
 | 
					BuildRequires:  perl(Test::More)
 | 
				
			||||||
 | 
					BuildRequires:  perl(DateTime)
 | 
				
			||||||
 | 
					BuildRequires:  perl(Date::Manip)
 | 
				
			||||||
 | 
					BuildRequires:  perl(Carp)
 | 
				
			||||||
 | 
					Requires:       perl(DateTime)
 | 
				
			||||||
 | 
					Requires:       perl(Date::Manip)
 | 
				
			||||||
 | 
					Requires:       perl(Carp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%description
 | 
				
			||||||
 | 
					DateTime::Format::DateManip is a class that knows how to convert between
 | 
				
			||||||
 | 
					Date::Manip dates and durations and DateTime and DateTime::Duration objects.
 | 
				
			||||||
 | 
					Recurrences are note yet supported.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%prep
 | 
				
			||||||
 | 
					%setup -q -n "DateTime-Format-DateManip-%{version}"
 | 
				
			||||||
 | 
					%patch1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%build
 | 
				
			||||||
 | 
					%__perl Build.PL
 | 
				
			||||||
 | 
					./Build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%install
 | 
				
			||||||
 | 
					./Build pure_install --destdir "%{buildroot}" --installdirs vendor
 | 
				
			||||||
 | 
					%perl_process_packlist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%check
 | 
				
			||||||
 | 
					./Build test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%clean
 | 
				
			||||||
 | 
					%{?buildroot:%__rm -rf "%{buildroot}"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%files
 | 
				
			||||||
 | 
					%defattr(-,root,root)
 | 
				
			||||||
 | 
					%doc Changes README
 | 
				
			||||||
 | 
					%dir %{perl_vendorlib}/DateTime
 | 
				
			||||||
 | 
					%dir %{perl_vendorlib}/DateTime/Format
 | 
				
			||||||
 | 
					%{perl_vendorlib}/DateTime/Format/DateManip.pm
 | 
				
			||||||
 | 
					%dir %{perl_vendorarch}/auto/DateTime
 | 
				
			||||||
 | 
					%dir %{perl_vendorarch}/auto/DateTime/Format
 | 
				
			||||||
 | 
					%{perl_vendorarch}/auto/DateTime/Format/DateManip
 | 
				
			||||||
 | 
					%doc %{perl_man3dir}/DateTime::Format::DateManip.%{perl_man3ext}%{ext_man}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in New Issue
	
	Block a user