Update to 0.006

- New upstream release 0.006
  - Move to MakeMaker
- Use %license
This commit is contained in:
Paul Howarth 2015-05-01 12:19:38 +01:00
parent eeafd99509
commit 6dc96c055b
3 changed files with 22 additions and 19 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/PerlIO-utf8_strict-0.003.tar.gz
/PerlIO-utf8_strict-0.004.tar.gz
/PerlIO-utf8_strict-0.005.tar.gz
/PerlIO-utf8_strict-0.006.tar.gz

View File

@ -1,13 +1,14 @@
Name: perl-PerlIO-utf8_strict
Version: 0.005
Version: 0.006
Release: 1%{?dist}
Summary: Fast and correct UTF-8 I/O
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/PerlIO-utf8_strict/
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-%{version}.tar.gz
# Build:
BuildRequires: perl
BuildRequires: perl(Module::Build) >= 0.28
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
@ -15,16 +16,10 @@ BuildRequires: perl(XSLoader)
# Tests:
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
# Pod::Coverage::TrustPod not used
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.88
# Test::Pod 1.41 not used
# Test::Pod::Coverage 1.08 not used
BuildRequires: perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -38,24 +33,31 @@ default :utf8 layer it checks the input for correctness.
%setup -q -n PerlIO-utf8_strict-%{version}
%build
perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
%{_fixperms} %{buildroot}
%check
./Build test
make test
%files
%doc Changes LICENSE README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/PerlIO*
%{_mandir}/man3/*
%license LICENSE
%doc Changes README
%{perl_vendorarch}/auto/PerlIO/
%{perl_vendorarch}/PerlIO/
%{_mandir}/man3/PerlIO::utf8_strict.3*
%changelog
* Fri May 1 2015 Paul Howarth <paul@city-fan.org> - 0.006-1
- Update to 0.006
- Move to MakeMaker
- Use %%license
* Wed Nov 12 2014 Petr Pisar <ppisar@redhat.com> - 0.005-1
- 0.005 bump

View File

@ -1 +1 @@
6b971926fa3dbd2af494753004a279a0 PerlIO-utf8_strict-0.005.tar.gz
9bd26d4cf55f41d9e17f03e644cc9a1b PerlIO-utf8_strict-0.006.tar.gz