[perl-Capture-Tiny] 0.09 bump
Petr Pisar
ppisar at fedoraproject.org
Fri Jan 28 13:41:00 UTC 2011
commit dbe59588775fca861f3473b08a1d61de04cc5126
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Jan 28 11:01:00 2011 +0100
0.09 bump
.gitignore | 1 +
perl-Capture-Tiny.spec | 39 ++++++++++++++++++++++-----------------
sources | 2 +-
3 files changed, 24 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e118432..cb00dba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Capture-Tiny-0.08.tar.gz
+/Capture-Tiny-0.09.tar.gz
diff --git a/perl-Capture-Tiny.spec b/perl-Capture-Tiny.spec
index 066a37a..5a0ac7d 100644
--- a/perl-Capture-Tiny.spec
+++ b/perl-Capture-Tiny.spec
@@ -1,16 +1,20 @@
Name: perl-Capture-Tiny
-Version: 0.08
-Release: 2%{?dist}
+Version: 0.09
+Release: 1%{?dist}
Summary: Capture STDOUT and STDERR from Perl, XS or external programs
License: ASL 2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/Capture-Tiny/
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl >= 0:5.006
-BuildRequires: perl(Module::Build) >= 0.36
+BuildArch: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(Test::More) >= 0.62
+# Tests only:
+BuildRequires: perl(Config)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(IO::Handle)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -25,30 +29,31 @@ in any particular situation and just use this one.
%setup -q -n Capture-Tiny-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=perl
+make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-./Build test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
%files
%defattr(-,root,root,-)
-%doc Changes LICENSE README Todo
-%{perl_vendorlib}/*
+%doc Changes examples LICENSE perlcritic.rc README Todo
+%{perl_privlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Jan 28 2011 Petr Pisar <ppisar at redhat.com> - 0.09-1
+- 0.09 bump
+- Remove BuildRoot stuff
+- Migrate from Module::Build to ExtUtils::MakeMaker
+- Install into perl core directory
+
* Wed Dec 15 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.08-2
- 661697 rebuild for fixing problems with vendorach/lib
diff --git a/sources b/sources
index 359f96e..50ed214 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dadea406a04a114b31a9248772b8c136 Capture-Tiny-0.08.tar.gz
+189a521f75b918402571cdc8b7c934bf Capture-Tiny-0.09.tar.gz
More information about the perl-devel
mailing list