packages: perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec - up to 1.28

qboosh qboosh at pld-linux.org
Fri Mar 4 18:00:27 CET 2011


Author: qboosh                       Date: Fri Mar  4 17:00:27 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.28

---- Files affected:
packages/perl-DateTime-TimeZone:
   perl-DateTime-TimeZone.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: packages/perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec
diff -u packages/perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec:1.25 packages/perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec:1.26
--- packages/perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec:1.25	Sat Dec 18 15:07:11 2010
+++ packages/perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec	Fri Mar  4 18:00:22 2011
@@ -11,22 +11,26 @@
 Summary:	DateTime::TimeZone - time zone object base class and factory
 Summary(pl.UTF-8):	DateTime::TimeZone - podstawowe klasy obiektowe do obsługi stref czasowych
 Name:		perl-DateTime-TimeZone
-Version:	1.26
+Version:	1.28
 Release:	0.1
 Epoch:		3
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/DateTime/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	4a5b5e90044f4a1736c214386d0bc7f8
+Source0:	http://www.cpan.org/modules/by-module/DateTime/DROLSKY/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	c5a9c76eac24181f05ceab9b6cf3e4da
 URL:		http://search.cpan.org/dist/DateTime-TimeZone/
-BuildRequires:	perl-Module-Build
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.31
+BuildRequires:	perl(Pod::Man) >= 1.14
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
+BuildRequires:	perl-Class-Load
+BuildRequires:	perl-Class-Singleton >= 1.03
 # most tests skipped without DateTime >= 0.1501
 BuildRequires:	perl-DateTime >= 0.15_01
 BuildRequires:	perl-Params-Validate >= 0.72
+BuildRequires:	perl-Test-Simple >= 0.88
 %endif
 Requires:	perl-Class-Singleton >= 1.03
 Requires:	perl-Params-Validate >= 0.72
@@ -56,16 +60,18 @@
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Build.PL \
-	installdirs=vendor \
-	destdir=$RPM_BUILD_ROOT
-./Build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
 
-%{?with_tests:./Build test}
+%{__make}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-./Build install
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -73,9 +79,9 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_vendorlib}/DateTime/*.pm
+%{perl_vendorlib}/DateTime/TimeZone.pm
 %{perl_vendorlib}/DateTime/TimeZone
-%{_mandir}/man3/*
+%{_mandir}/man3/DateTime::TimeZone*.3pm*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -83,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2011/03/04 17:00:22  qboosh
+- up to 1.28
+
 Revision 1.25  2010/12/18 14:07:11  caleb
 - Up to 1.26, rel 0.1 because only builds --without tests
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list