Files
perl-Module-Compile/perl-Module-Compile.spec
Lars Vogdt c4179cb653 Accepting request 759195 from devel:languages:perl:autoupdate
- updated to 0.38
   see /usr/share/doc/packages/perl-Module-Compile/Changes
  0.38 
   - Apply PR/11 xenu++
   - App::Prove breaks on Windows when $/ is undefined

OBS-URL: https://build.opensuse.org/request/show/759195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Compile?expand=0&rev=7
2019-12-29 17:34:59 +00:00

72 lines
2.1 KiB
RPMSpec

#
# spec file for package perl-Module-Compile
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Module-Compile
Version: 0.38
Release: 0
%define cpan_name Module-Compile
Summary: Perl Module Compilation
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(App::Prove)
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(Digest::SHA1) >= 2.13
Requires: perl(App::Prove)
Requires: perl(Capture::Tiny)
Requires: perl(Digest::SHA1) >= 2.13
%{perl_requires}
%description
This module provides a system for writing modules that _compile_ other Perl
modules.
Modules that use these compilation modules get compiled into some altered
form the first time they are run. The result is cached into '.pmc' files.
Perl has native support for '.pmc' files. It always checks for them, before
loading a '.pm' file.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README
%license LICENSE
%changelog