|
|
@ -2,26 +2,28 @@
|
|
|
|
%bcond_without perl_Inline_enables_optional_test
|
|
|
|
%bcond_without perl_Inline_enables_optional_test
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Inline
|
|
|
|
Name: perl-Inline
|
|
|
|
Version: 0.83
|
|
|
|
Version: 0.85
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Inline Perl module
|
|
|
|
Summary: Inline Perl module
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Url: https://metacpan.org/release/Inline
|
|
|
|
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
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build
|
|
|
|
# Build
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.8.1
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.8.1
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Runtime
|
|
|
|
# Runtime
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
@ -35,10 +37,12 @@ BuildRequires: perl(Socket)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(version) >= 0.82
|
|
|
|
BuildRequires: perl(version) >= 0.82
|
|
|
|
# Tests only
|
|
|
|
# Tests only
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
BuildRequires: perl(Inline::Files)
|
|
|
|
BuildRequires: perl(Inline::Files)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
|
|
|
BuildRequires: perl(TestML::Bridge)
|
|
|
|
|
|
|
|
BuildRequires: perl(TestML::Run::TAP)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
# Test::Pod 1.41 not used
|
|
|
|
# Test::Pod 1.41 not used
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.23
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.23
|
|
|
@ -79,6 +83,9 @@ never notice the compilation time.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Inline-%{version}
|
|
|
|
%setup -q -n Inline-%{version}
|
|
|
|
find example -type f -exec chmod 0644 {} +
|
|
|
|
find example -type f -exec chmod 0644 {} +
|
|
|
|
|
|
|
|
# Remove bundled modules
|
|
|
|
|
|
|
|
rm -rf inc/lib
|
|
|
|
|
|
|
|
perl -i -ne 'print $_ unless m{^inc/lib/}' MANIFEST
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
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
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
unset AUTHOR_TESTING PERL_INLINE_DIRECTORY
|
|
|
|
unset AUTHOR_TESTING PERL_INLINE_DIRECTORY PERL5LIB PERL5OPT
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -99,6 +106,9 @@ make test
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jan 07 2020 Petr Pisar <ppisar@redhat.com> - 0.85-1
|
|
|
|
|
|
|
|
- 0.85 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.83-3
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.83-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|