5 Star 0 Fork 1

src-openEuler/perl-Module-Manifest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Module-Manifest.spec 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
zhangxianjun 提交于 2024-03-21 03:21 . update perl-Module-Manifest.spec.
Name: perl-Module-Manifest
Version: 1.09
Release: 1
Summary: Parse and examine a Perl distribution MANIFEST file
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Module-Manifest
Source0: https://cpan.metacpan.org/modules/by-module/Module/Module-Manifest-%{version}.tar.gz
BuildArch: noarch
# Build:
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(Params::Util) >= 0.10
# Tests:
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Test::Exception) >= 0.27
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Warn)
# Optional tests:
# CPAN::Meta 2.120900 not helpful
# CPAN::Meta::Prereqs not helpful
# Dependencies:
Requires: perl(File::Spec) >= 0.80
Requires: perl(Params::Util) >= 0.10
# Do not export under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|Params::Util)\\)
%description
Module::Manifest can load a MANIFEST file that comes in a Perl distribution
tarball, examine the contents, and perform some simple tasks. It can also load
the MANIFEST.SKIP file and check that.
%prep
%setup -q -n Module-Manifest-%{version}
chmod -c -x examples/*
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README examples
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Mar 21 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 1.09-1
- Package Init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Module-Manifest.git
git@gitee.com:src-openeuler/perl-Module-Manifest.git
src-openeuler
perl-Module-Manifest
perl-Module-Manifest
master

搜索帮助