0.09 bump
This commit is contained in:
parent
0b4a9908c1
commit
dbe5958877
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
Capture-Tiny-0.08.tar.gz
|
||||
/Capture-Tiny-0.09.tar.gz
|
||||
|
||||
@ -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@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@redhat.com> - 0.08-2
|
||||
- 661697 rebuild for fixing problems with vendorach/lib
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user