diff --git a/.gitignore b/.gitignore index 8cb20bb..5a30fee 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ Inline-0.46.tar.gz /Inline-0.81.tar.gz /Inline-0.82.tar.gz /Inline-0.83.tar.gz +/Inline-0.85.tar.gz diff --git a/perl-Inline.spec b/perl-Inline.spec index 903b6fb..2da585a 100644 --- a/perl-Inline.spec +++ b/perl-Inline.spec @@ -2,26 +2,28 @@ %bcond_without perl_Inline_enables_optional_test Name: perl-Inline -Version: 0.83 -Release: 3%{?dist} +Version: 0.85 +Release: 1%{?dist} Summary: Inline Perl module License: GPL+ or Artistic Url: https://metacpan.org/release/Inline -Source0: https://cpan.metacpan.org/authors/id/T/TI/TINITA/Inline-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Inline-%{version}.tar.gz BuildArch: noarch # Build +BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.8.1 +BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(File::Find) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(base) BuildRequires: perl(Carp) -BuildRequires: perl(Config) BuildRequires: perl(Cwd) BuildRequires: perl(Digest::MD5) BuildRequires: perl(DynaLoader) @@ -35,10 +37,12 @@ BuildRequires: perl(Socket) BuildRequires: perl(utf8) BuildRequires: perl(version) >= 0.82 # Tests only -BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(Inline::Files) BuildRequires: perl(lib) +BuildRequires: perl(TestML::Bridge) +BuildRequires: perl(TestML::Run::TAP) BuildRequires: perl(Test::More) # Test::Pod 1.41 not used BuildRequires: perl(Test::Warn) >= 0.23 @@ -79,6 +83,9 @@ never notice the compilation time. %prep %setup -q -n Inline-%{version} find example -type f -exec chmod 0644 {} + +# Remove bundled modules +rm -rf inc/lib +perl -i -ne 'print $_ unless m{^inc/lib/}' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 @@ -86,10 +93,10 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %install %{make_install} -chmod -R u+w %{buildroot}/* +%{_fixperms} %{buildroot}/* %check -unset AUTHOR_TESTING PERL_INLINE_DIRECTORY +unset AUTHOR_TESTING PERL_INLINE_DIRECTORY PERL5LIB PERL5OPT make test %files @@ -99,6 +106,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Tue Jan 07 2020 Petr Pisar - 0.85-1 +- 0.85 bump + * Fri Jul 26 2019 Fedora Release Engineering - 0.83-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index fbf78d4..ec639ba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Inline-0.83.tar.gz) = 83ebc1f6e836117a49e991117be2a650c077ecd368b50547b80176b8da1ab776c12ee9615b54d30f07cc4ec9b1456929e6a940e52e3a05d8d8df568ad32709cd +SHA512 (Inline-0.85.tar.gz) = 88d5f06ca435043576b5bb9869c1121cd429a55275abc392f97a7befed184fe375634140a64ae915e3815edcf9fa4514426fed483bfa1ebcdb22172fa97ce4d9