>From 6dc96c055b2cf1d20d73573bce60e8e4ba304e3c Mon Sep 17 00:00:00 2001 From: Paul Howarth <paul@xxxxxxxxxxxx> Date: Fri, 1 May 2015 12:19:38 +0100 Subject: Update to 0.006 - New upstream release 0.006 - Move to MakeMaker - Use %license diff --git a/.gitignore b/.gitignore index 0684f7b..72ab8b4 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/perl-PerlIO-utf8_strict.spec b/perl-PerlIO-utf8_strict.spec index 5375df0..ed287a2 100644 --- a/perl-PerlIO-utf8_strict.spec +++ b/perl-PerlIO-utf8_strict.spec @@ -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@xxxxxxxxxxxx> - 0.006-1 +- Update to 0.006 + - Move to MakeMaker +- Use %%license + * Wed Nov 12 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.005-1 - 0.005 bump diff --git a/sources b/sources index 2690d44..3afe5d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6b971926fa3dbd2af494753004a279a0 PerlIO-utf8_strict-0.005.tar.gz +9bd26d4cf55f41d9e17f03e644cc9a1b PerlIO-utf8_strict-0.006.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-PerlIO-utf8_strict.git/commit/?h=perl-PerlIO-utf8_strict-0.006-1.fc23&id=6dc96c055b2cf1d20d73573bce60e8e4ba304e3c -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel