[perl-DateTime-Format-HTTP] 0.42 bump

Petr Šabata psabata at fedoraproject.org
Fri Nov 14 14:02:43 UTC 2014


commit cacb0d1c9914c41f65367beb42fd43854a4cae4a
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Nov 14 15:02:38 2014 +0100

    0.42 bump

 .gitignore                     |    1 +
 perl-DateTime-Format-HTTP.spec |   40 ++++++++++++++++++++--------------------
 sources                        |    2 +-
 3 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f2d4c14..0318447 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 DateTime-Format-HTTP-0.38.tar.gz
 /DateTime-Format-HTTP-0.40.tar.gz
+/DateTime-Format-HTTP-0.42.tar.gz
diff --git a/perl-DateTime-Format-HTTP.spec b/perl-DateTime-Format-HTTP.spec
index e367326..ef4bcb8 100644
--- a/perl-DateTime-Format-HTTP.spec
+++ b/perl-DateTime-Format-HTTP.spec
@@ -1,60 +1,60 @@
 Name:           perl-DateTime-Format-HTTP
-Version:        0.40
-Release:        12%{?dist}
+Version:        0.42
+Release:        1%{?dist}
 Summary:        HTTP protocol date conversion routines
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/DateTime-Format-HTTP
 Source0:        http://search.cpan.org/CPAN/authors/id/C/CK/CKRAS/DateTime-Format-HTTP-%{version}.tar.gz
-
 BuildArch:      noarch
-BuildRequires:  perl(Class::ISA)
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Runtime
 BuildRequires:  perl(DateTime) >= 0.17
 BuildRequires:  perl(HTTP::Date) => 1.44
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More) >= 0.47
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(File::Find::Rule)
+Requires:  perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(DateTime) >= 0.17
+Requires:       perl(HTTP::Date) >= 1.44
 
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(DateTime\\)$
+%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(HTTP::Date\\)$
 
 %description
 This module provides functions that deal with the date formats used by the
 HTTP protocol (and then some).
 
-
 %prep
 %setup -q -n DateTime-Format-HTTP-%{version}
-
-# fix up crlf
 sed -i -e 's/\r//' LICENSE README Changes CREDITS
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
-
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
-
 %check
-# These will be VERY noisy.  Don't Panic.
 make test
 
-
 %files
-%defattr(-,root,root,-)
 %doc LICENSE Changes CREDITS README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Fri Nov 14 2014 Petr Šabata <contyk at redhat.com> - 0.42-1
+- 0.42 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.40-12
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 1bd7241..2f5fc74 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dac502bc95a4c034ce03dcec7941b308  DateTime-Format-HTTP-0.40.tar.gz
+e5dfec811e1f9fe4fc72842f0c56c86f  DateTime-Format-HTTP-0.42.tar.gz



More information about the perl-devel mailing list