!1 package init

Merge pull request !1 from 严志华/master
This commit is contained in:
openeuler-ci-bot 2020-03-02 10:23:37 +08:00 committed by Gitee
commit 3587897f20
4 changed files with 53 additions and 73 deletions

View File

@ -1,36 +0,0 @@
# perl-Test-Exception
#### Description
This module provides a few convenience methods for testing exception based code.
#### 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/)

View File

@ -1,37 +0,0 @@
# perl-Test-Exception
#### 介绍
This module provides a few convenience methods for testing exception based code.
#### 软件架构
软件架构说明
#### 安装教程
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/)

BIN
Test-Exception-0.43.tar.gz Normal file

Binary file not shown.

53
perl-Test-Exception.spec Normal file
View File

@ -0,0 +1,53 @@
Name: perl-Test-Exception
Version: 0.43
Release: 10
Summary: Library of test functions for exception based Perl code
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-Exception
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Exception-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-interpreter perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) perl(base) perl(Carp) perl(Exporter)
BuildRequires: perl(strict) perl(Sub::Uplevel) >= 0.18 perl(Test::Builder)
BuildRequires: perl(warnings) perl(overload) perl(Test::Builder::Tester)
BuildRequires: perl(Test::Harness) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Carp)
%{?perl_default_filter}
%description
This module provides a few convenience methods for testing exception
based code. It is built with Test::Builder and plays happily with
Test::More and friends.
%package help
Summary: Help documents for perl-Test-Exception package
%description help
Help documents for perl-Test-Exception package.
%prep
%autosetup -n Test-Exception-%{version} -p1
%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
%doc Changes
%{perl_vendorlib}/Test/
%files help
%{_mandir}/man3/Test::Exception.3*
%changelog
* Sat Feb 29 2020 yanzhihua <yanzhihua4@huawei.com> - 0.43-10
- Package init