[perl-DateTime-Format-HTTP: 4/5] update to 0.40

Iain Arnell iarnell at fedoraproject.org
Sat Dec 18 09:19:35 UTC 2010


commit 6c3165652b7939b13623d3f525a1492577646821
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Dec 18 10:12:25 2010 +0100

    update to 0.40
    
    - clean up spec for modern rpmbuild
    - PERL_INSTALL_ROOT -> DESTDIR

 .gitignore                     |    1 +
 perl-DateTime-Format-HTTP.spec |   19 +++++++++----------
 sources                        |    2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 58fa6b1..f2d4c14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 DateTime-Format-HTTP-0.38.tar.gz
+/DateTime-Format-HTTP-0.40.tar.gz
diff --git a/perl-DateTime-Format-HTTP.spec b/perl-DateTime-Format-HTTP.spec
index 401b98f..ebfed50 100644
--- a/perl-DateTime-Format-HTTP.spec
+++ b/perl-DateTime-Format-HTTP.spec
@@ -1,13 +1,12 @@
 Name:           perl-DateTime-Format-HTTP
-Version:        0.38
-Release:        6%{?dist}
+Version:        0.40
+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/D/DR/DROLSKY/DateTime-Format-HTTP-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/C/CK/CKRAS/DateTime-Format-HTTP-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  perl(Class::ISA)
@@ -34,8 +33,7 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+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}/*
@@ -46,10 +44,6 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 make test
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
 %defattr(-,root,root,-)
 %doc LICENSE Changes CREDITS README
@@ -58,6 +52,11 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Dec 18 2010 Iain Arnell <iarnell at gmail.com> 0.40-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- PERL_INSTALL_ROOT -> DESTDIR
+
 * Thu Dec 16 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.38-6
 - 661697 rebuild for fixing problems with vendorach/lib
 
diff --git a/sources b/sources
index c0849e1..1bd7241 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6c26e1eb48d0f3b0e2075d3be54e96e6  DateTime-Format-HTTP-0.38.tar.gz
+dac502bc95a4c034ce03dcec7941b308  DateTime-Format-HTTP-0.40.tar.gz



More information about the perl-devel mailing list