Compare commits

..

No commits in common. "a41c5548e76e504f4d3c6e625cd865d57ba8e8d5" and "a4b1cf24aedc98ff16320346b398f1ee0872b4c7" have entirely different histories.

3 changed files with 7 additions and 24 deletions

BIN
Test-Simple-1.302175.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,17 @@
%define mod_name Test-Simple
Name: perl-%{mod_name}
Name: perl-Test-Simple
Summary: Basic utilities for writing tests
Epoch: 2
Version: 1.302198
Version: 1.302175
Release: 1
License: (GPL+ or Artistic) and CC0 and Public Domain
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/modules/by-module/Test/%{mod_name}-%{version}.tar.gz
URL: https://metacpan.org/release/Test-Simple
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Simple-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils, make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Term::Table)
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
Requires: perl(Data::Dumper)
@ -29,10 +27,10 @@ Provides: perl-Test2 = %{version}-%{release}
This package provides the bulk of the core testing facilities. For more
information, see perldoc for Test::Simple, Test::More, etc.
This package is the CPAN component of the dual-lifed core package %{mod_name}.
This package is the CPAN component of the dual-lifed core package Test-Simple.
%prep
%setup -q -n %{mod_name}-%{version}
%setup -q -n Test-Simple-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
@ -43,7 +41,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%{_fixperms} %{buildroot}/*
%check
make test AUTHOR_TESTING=1
make test AUTHOR_TESTING=0
%files
%defattr(-,root,root)
@ -66,21 +64,6 @@ make test AUTHOR_TESTING=1
%{_mandir}/man3/Test*
%changelog
* Wed Jan 17 2024 xujing <xujing125@huawei.com> - 2:1.302198-1
- upgrade version to 1.302198
* Thu Aug 3 2023 yangmingtai <yangmingtai@huawei.com> - 2:1.302195-1
- upgrade version to 1.302195
* Tue Oct 25 2022 zhoushuiqing <zhoushuiqing2@huawei.com> - 1.302188-2
- define mod_name to opitomize the specfile
* Mon Nov 22 2021 liudabo <liudabo1@huawei.com> - 1.302188-1
- upgrade version to 1.302188
* Tue Aug 11 2020 dingyue <dingyue5@huawei.com> - 1.302175-2
- Fix test case error.
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 1.302175-1
- Type:enhancement
- ID:NA