1 Star 0 Fork 5

zhanghua/perl-Module-Manifest-Skip

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Module-Manifest-Skip.spec 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
liuwei 提交于 2020-01-11 17:33 . modify
Name: perl-Module-Manifest-Skip
Version: 0.23
Release: 16
Summary: MANIFEST.SKIP Manangement for Modules
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Manifest-Skip
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Module-Manifest-Skip-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(File::ShareDir::Install) >= 0.06 perl(strict) perl(warnings)
BuildRequires: perl(File::ShareDir) perl(File::Spec) perl(Moo) >= 0.091013
BuildRequires: perl(base) perl(Cwd) perl(Exporter) perl(lib) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::ShareDir) perl(File::Spec) perl(Moo) >= 0.091013 perl(warnings)
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo\\)$
%description
CPAN module authors use a "MANIFEST.SKIP" file to exclude certain well known files from getting put
into a generated "MANIFEST" file, which would cause them to go into the final distribution package.
The packaging tools try to automatically skip things for you, but if you add one of your own entries,
you have to add all the common ones yourself. This module attempts to make all of this boring process
as simple and reliable as possible.
Module::Manifest::Skip can create or update a MANIFEST.SKIP file for you. You can add your own entries,
and it will leave them alone. You can even tell it to not skip certain entries that it normally skips,
although this is rarely needed.
%package_help
%prep
%autosetup -n Module-Manifest-Skip-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root)
%doc README
%license LICENSE
%{perl_vendorlib}/*
%files help
%defattr(-,root,root)
%doc Changes CONTRIBUTING
%{_mandir}/man3/*
%changelog
* Fri Jan 10 2020 openEuler Buildteam <[email protected]> - 0.23-16
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhanghua1831/perl-Module-Manifest-Skip.git
[email protected]:zhanghua1831/perl-Module-Manifest-Skip.git
zhanghua1831
perl-Module-Manifest-Skip
perl-Module-Manifest-Skip
master

搜索帮助