Update to 0.006
- New upstream release 0.006 - Move to MakeMaker - Use %license
This commit is contained in:
parent
eeafd99509
commit
6dc96c055b
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user