]> git.pld-linux.org Git - packages/perl-DateTime-TimeZone.git/blobdiff - perl-DateTime-TimeZone.spec
- 0.46 (Epoch: 2 due 0.3801 being "newer"), generic URL
[packages/perl-DateTime-TimeZone.git] / perl-DateTime-TimeZone.spec
index e22961200d57b14de07d292c7cd8229b1e78a489..47e490bef48da2058f7c1751ee9d75ef7a5fa3d5 100644 (file)
@@ -3,21 +3,30 @@
 %bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    DateTime
-%define        pnam    TimeZone
+%define                pdir    DateTime
+%define                pnam    TimeZone
 Summary:       DateTime::TimeZone - time zone object base class and factory
 Summary(pl):   DateTime::TimeZone - podstawowe klasy obiektowe do obsĀ³ugi stref czasowych
 Name:          perl-DateTime-TimeZone
-Version:       0.2601
+Version:       0.46
 Release:       1
-License:       (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Epoch:         2
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: b6d26bdb01a73a805b712ff9dbf9efd1
+# Source0-md5: fe52d18c393d3e7841be0aba972e4e43
+URL:           http://search.cpan.org/dist/DateTime-TimeZone/
+BuildRequires: perl-Module-Build
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-Class-Singleton
-%{?with_tests:BuildRequires:   perl-DateTime}
+%if %{with tests}
+# most test skipped without DateTime >= 0.1501
+BuildRequires: perl-DateTime >= 0.15_01
+BuildRequires: perl-Params-Validate >= 0.72
+%endif
+Requires:      perl-Class-Singleton >= 1.03
+Requires:      perl-Params-Validate >= 0.72
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -75,6 +84,8 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/DateTime/TimeZone/Asia/*.pm
 %dir %{perl_vendorlib}/DateTime/TimeZone/America
 %{perl_vendorlib}/DateTime/TimeZone/America/*.pm
+%dir %{perl_vendorlib}/DateTime/TimeZone/America/Argentina
+%{perl_vendorlib}/DateTime/TimeZone/America/Argentina/*.pm
 %dir %{perl_vendorlib}/DateTime/TimeZone/America/Indiana
 %{perl_vendorlib}/DateTime/TimeZone/America/Indiana/*.pm
 %dir %{perl_vendorlib}/DateTime/TimeZone/America/Kentucky
This page took 0.0692 seconds and 4 git commands to generate.