[perl-opts] Update to 0.06
Emmanuel Seyman
eseyman at fedoraproject.org
Tue Aug 13 23:39:14 UTC 2013
commit eb974e6930f7d369bf0df403ca61a0b3c3dd7ab6
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Wed Aug 14 01:39:05 2013 +0200
Update to 0.06
.gitignore | 1 +
perl-opts.spec | 23 ++++++++++++++---------
sources | 2 +-
3 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 56f4941..985c424 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
opts-0.022.tar.gz
/opts-0.042.tar.gz
/opts-0.05.tar.gz
+/opts-0.06.tar.gz
diff --git a/perl-opts.spec b/perl-opts.spec
index b249238..6ff45b1 100644
--- a/perl-opts.spec
+++ b/perl-opts.spec
@@ -1,10 +1,10 @@
Name: perl-opts
Summary: Simple command line option parser
-Version: 0.050
-Release: 6%{?dist}
+Version: 0.060
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
-Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKIHOSHI/opts-0.05.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKIHOSHI/opts-0.06.tar.gz
URL: http://search.cpan.org/dist/opts
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -12,6 +12,7 @@ BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(Getopt::Long) >= 2.37
+BuildRequires: perl(Module::Build)
BuildRequires: perl(PadWalker) >= 1.9
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
@@ -29,28 +30,32 @@ Requires: perl(Text::Table)
opts is a DSL for quickly and easily handling command line options.
%prep
-%setup -q -n opts-0.05
+%setup -q -n opts-0.06
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build
%install
-make pure_install DESTDIR=%{buildroot}
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
-make test
+./Build test
%files
-%doc Changes README
+%doc Changes README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
+* Wed Aug 14 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.060-1
+- Update to 0.06
+- Switch to Build.PL a build mecanism
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.050-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 8dea51b..058bc7c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-49b55e10fc72cddcc146af27d5e74f76 opts-0.05.tar.gz
+ad8fecb04c93a13644f9f4aa6b6b6f84 opts-0.06.tar.gz
More information about the scm-commits
mailing list