package init
This commit is contained in:
parent
379c36def2
commit
c1531f5a8e
BIN
Module-CPANfile-1.1004.tar.gz
Normal file
BIN
Module-CPANfile-1.1004.tar.gz
Normal file
Binary file not shown.
50
perl-Module-CPANfile.spec
Normal file
50
perl-Module-CPANfile.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: perl-Module-CPANfile
|
||||
Version: 1.1004
|
||||
Release: 1
|
||||
Summary: Parse cpanfile
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-CPANfile
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Module-CPANfile-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make perl-generators perl-interpreter perl(base) perl(Carp) perl(Cwd)
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.12091 perl(CPAN::Meta::Feature) >= 2.12091
|
||||
BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.12091 perl(CPAN::Meta::Requirements)
|
||||
BuildRequires: perl(Data::Dumper) perl(ExtUtils::MakeMaker) >= 6.76 perl(parent) perl(strict)
|
||||
BuildRequires: perl(warnings) perl(Exporter) perl(File::pushd) perl(lib) perl(POSIX)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(CPAN::Meta) >= 2.12091 perl(CPAN::Meta::Prereqs) >= 2.12091
|
||||
Requires: perl(CPAN::Meta::Feature) >= 2.12091 perl(Data::Dumper) perl(Pod::Usage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
%?perl_default_filter
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(CPAN::Meta\\)$
|
||||
%description
|
||||
Module::CPANfile is a tool to handle cpanfile format to load application
|
||||
specific dependencies, not just for CPAN distributions.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-CPANfile-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{_bindir}/mymeta-cpanfile
|
||||
%{_bindir}/cpanfile-dump
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man1/mymeta-cpanfile*
|
||||
%{_mandir}/man1/cpanfile-dump*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri May 14 2021 zhangtao <zhangtao307@huawei.com> - 1.1004-1
|
||||
- package init
|
||||
Loading…
x
Reference in New Issue
Block a user