diff --git a/Module-Package-Au-2.tar.gz b/Module-Package-Au-2.tar.gz new file mode 100644 index 0000000..309ac65 Binary files /dev/null and b/Module-Package-Au-2.tar.gz differ diff --git a/README.en.md b/README.en.md deleted file mode 100644 index a0877f0..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# perl-Module-Package-Au - -#### Description -perl-Module-Package-Au - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index af98036..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# perl-Module-Package-Au - -#### 介绍 -perl-Module-Package-Au - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/perl-Module-Package-Au-no-bundle.patch b/perl-Module-Package-Au-no-bundle.patch new file mode 100644 index 0000000..d6c66be --- /dev/null +++ b/perl-Module-Package-Au-no-bundle.patch @@ -0,0 +1,20 @@ +diff -up Module-Package-Au-2/MANIFEST.no-bundle Module-Package-Au-2/MANIFEST +--- Module-Package-Au-2/MANIFEST.no-bundle 2014-07-08 15:07:58.736951231 -0400 ++++ Module-Package-Au-2/MANIFEST 2014-07-08 15:08:52.625596868 -0400 +@@ -1,16 +1,4 @@ + Changes +-inc/Module/Install.pm +-inc/Module/Install/Base.pm +-inc/Module/Install/Can.pm +-inc/Module/Install/Fetch.pm +-inc/Module/Install/GithubMeta.pm +-inc/Module/Install/Makefile.pm +-inc/Module/Install/Metadata.pm +-inc/Module/Install/Package.pm +-inc/Module/Install/Win32.pm +-inc/Module/Install/WriteAll.pm +-inc/Module/Package.pm +-inc/Pod/Markdown.pm + lib/Module/Package/Au.pm + Makefile.PL + MANIFEST This list of files diff --git a/perl-Module-Package-Au.spec b/perl-Module-Package-Au.spec new file mode 100644 index 0000000..8c3bfa8 --- /dev/null +++ b/perl-Module-Package-Au.spec @@ -0,0 +1,58 @@ +Name: perl-Module-Package-Au +Version: 2 +Release: 16 +Summary: Reusable Module::Install bits +License: CC0 +URL: https://metacpan.org/release/Module-Package-Au + +Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Module-Package-Au-%{version}.tar.gz +Patch0: perl-Module-Package-Au-no-bundle.patch + +BuildArch: noarch +BuildRequires: perl-generators perl(ExtUtils::MakeMaker) perl(Module::Install::AuthorTests) +BuildRequires: perl(Module::Install::GithubMeta) perl(Module::Install::ReadmeFromPod) +BuildRequires: perl(Module::Install::ReadmeMarkdownFromPod) perl(Module::Install::Repository) +BuildRequires: perl(Module::Package) >= 0.24 perl(Pod::Markdown) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module defines a set of standard configurations for Makefile.PL files based on Module::Package. + +%package_help + +%prep +%autosetup -n Module-Package-Au-%{version} -p1 +rm -rf inc/* + +sed -i 's|1.110730|1.301|g' lib/Module/Package/Au.pm +sed -i 's|1.110730|1.301|g' META.yml + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +%{_fixperms} %{buildroot} + +%check +make test + +%files +%defattr(-,root,root) +%doc README +%{perl_vendorlib}/Module/Package/ + +%files help +%defattr(-,root,root) +%doc Changes +%{_mandir}/man3/Module::Package::Au.3pm* + + +%changelog +* Fri Jan 10 2020 openEuler Buildteam - 2-16 +- Package init \ No newline at end of file