[perl-opts] update to 0.042
Iain Arnell
iarnell at fedoraproject.org
Sun Nov 21 10:07:26 UTC 2010
commit e2225e7b5937eb16fc4dee7454962168839d78b5
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Nov 21 11:07:21 2010 +0100
update to 0.042
.gitignore | 1 +
perl-opts.spec | 17 +++++++++--------
sources | 2 +-
3 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c877b5a..79c1590 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
opts-0.022.tar.gz
+/opts-0.042.tar.gz
diff --git a/perl-opts.spec b/perl-opts.spec
index 0b541b6..b42fd1f 100644
--- a/perl-opts.spec
+++ b/perl-opts.spec
@@ -1,12 +1,11 @@
Name: perl-opts
Summary: Simple command line option parser
-Version: 0.022
-Release: 2%{?dist}
+Version: 0.042
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKIHOSHI/opts-%{version}.tar.gz
URL: http://search.cpan.org/dist/opts
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -16,10 +15,12 @@ BuildRequires: perl(Getopt::Long) >= 2.37
BuildRequires: perl(PadWalker) >= 1.9
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
+BuildRequires: perl(Text::Table)
# note versioning...
Requires: perl(Getopt::Long) >= 2.37
Requires: perl(PadWalker) >= 1.9
+Requires: perl(Text::Table)
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
@@ -35,8 +36,6 @@ opts is a DSL for quickly and easily handling command line options.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -46,9 +45,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
@@ -56,6 +52,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/*.3*
%changelog
+* Sun Nov 21 2010 Iain Arnell <iarnell at gmail.com> 0.042-1
+- update to latest upstream version
+- requires perl(Text::Table)
+- clean up spec for modern rpmbuild
+
* Tue May 04 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.022-2
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 791dd54..7a9e1d4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-08293bb9013c18f91fa4307feadb0102 opts-0.022.tar.gz
+bdb610f41019fb7ee0919430f4ece683 opts-0.042.tar.gz
More information about the perl-devel
mailing list