diff --git a/Test-Inter-1.07.tar.gz b/Test-Inter-1.07.tar.gz deleted file mode 100644 index d554c00..0000000 Binary files a/Test-Inter-1.07.tar.gz and /dev/null differ diff --git a/Test-Inter-1.09.tar.gz b/Test-Inter-1.09.tar.gz new file mode 100644 index 0000000..a2758f7 Binary files /dev/null and b/Test-Inter-1.09.tar.gz differ diff --git a/perl-Test-Inter.spec b/perl-Test-Inter.spec index f7b783a..4cf51f7 100644 --- a/perl-Test-Inter.spec +++ b/perl-Test-Inter.spec @@ -1,50 +1,85 @@ -Name: perl-Test-Inter -Version: 1.07 -Release: 4 -Summary: A framework for writing more readable interactive test scripts -License: GPL+ or Artistic -URL: https://metacpan.org/release/Test-Inter -Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.07.tar.gz - -BuildArch: noarch -BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 -BuildRequires: perl(strict) perl(warnings) perl(File::Basename) perl(IO::File) perl(Config) -BuildRequires: perl(Cwd) perl(Storable) >= 1.01 perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) - +%global _empty_manifest_terminate_build 0 +Name: perl-Test-Inter +Version: 1.09 +Release: 2 +Summary: Framework for more readable interactive test scripts +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-Inter/ +Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find::Rule) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +BuildRequires: perl-generators +Requires: perl(Cwd) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -It is another framework for writing test scripts. Much of the syntax is loosely inspired by -Test::More. Though implement most funciton, it is not a drop-in replacement for Test::More. - -%package help -Summary: Help documents for Perl-Test-Inter - -%description help -This package contains help documents for Perl-Test-Inter - +This is another framework for writing test scripts. Much of the syntax is +loosely inspired by Test::More, and Test::Inter has most of it's +functionality, but it is not a drop-in replacement. +%package help +Summary : Framework for more readable interactive test scripts +Provides: perl-Test-Inter-doc +%description help +This is another framework for writing test scripts. Much of the syntax is +loosely inspired by Test::More, and Test::Inter has most of it's +functionality, but it is not a drop-in replacement. %prep -%autosetup -p1 -n Test-Inter-1.07 -chmod ugoa-x examples/* - +%setup -q -n Test-Inter-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -%make_build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -%make_build pure_install DESTDIR=$RPM_BUILD_ROOT +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + %{_fixperms} $RPM_BUILD_ROOT/* +pushd %{buildroot} +touch filelist.lst +if [ -d usr/bin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ];then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib ];then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . %check -unset RELEASE_TESTING -%make_build test +make test -%files -%doc Changes README examples LICENSE +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc Changes LICENSE META.json README %{perl_vendorlib}/* - %files help -%{_mandir}/man3/* +%{_mandir}/* %changelog -* Thu Feb 27 2020 Chen Dingxiao - 1.07-4 -- Package Init +* Sat Aug 1 2020 shixuantong - 1.09-2 +- Remove %{?dist} in release tag + +* Tue Jun 16 2020 Perl_Bot 1.09-1 +- Specfile autogenerated by Perl_Bot