[perl-Getopt-Long-Descriptive] update to 0.087

Iain Arnell iarnell at fedoraproject.org
Sat Jan 8 08:31:39 UTC 2011


commit 17ecc99183538f1f7c00e8090c467aafa0ed7bd9
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jan 8 09:31:20 2011 +0100

    update to 0.087

 .gitignore                        |    1 +
 perl-Getopt-Long-Descriptive.spec |   19 +++++++------------
 sources                           |    2 +-
 3 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f263eaf..12fa342 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Getopt-Long-Descriptive-0.084.tar.gz
+/Getopt-Long-Descriptive-0.087.tar.gz
diff --git a/perl-Getopt-Long-Descriptive.spec b/perl-Getopt-Long-Descriptive.spec
index eda3513..44724fd 100644
--- a/perl-Getopt-Long-Descriptive.spec
+++ b/perl-Getopt-Long-Descriptive.spec
@@ -1,12 +1,11 @@
 Name:           perl-Getopt-Long-Descriptive
 Summary:        Getopt::Long with usage text
-Version:        0.084
-Release:        3%{?dist}
+Version:        0.087
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Getopt-Long-Descriptive-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/Getopt-Long-Descriptive/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
@@ -14,14 +13,11 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Getopt::Long) >= 2.33
 BuildRequires:  perl(List::Util)
 BuildRequires:  perl(Params::Validate) >= 0.74
-BuildRequires:  perl(Sub::Exporter)
+BuildRequires:  perl(Sub::Exporter) >= 0.972
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 
-Requires:       perl(Getopt::Long) >= 2.33
-Requires:       perl(List::Util)
 Requires:       perl(Params::Validate) >= 0.74
-Requires:       perl(Sub::Exporter)
 
 
 %{?perl_default_filter}
@@ -38,8 +34,6 @@ Convenient wrapper for Getopt::Long and program usage output.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
@@ -50,9 +44,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -60,6 +51,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 08 2011 Iain Arnell <iarnell at gmail.com> 0.087-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Thu Dec 16 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.084-3
 - 661697 rebuild for fixing problems with vendorach/lib
 
diff --git a/sources b/sources
index 75bec05..a3c0aab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-469dc25a5d3bf3a5a92525578fa144be  Getopt-Long-Descriptive-0.084.tar.gz
+21d1d9e382a42e0d130808c21c215cde  Getopt-Long-Descriptive-0.087.tar.gz



More information about the perl-devel mailing list