update to 1.09
This commit is contained in:
parent
0f753426c6
commit
82200472f4
Binary file not shown.
BIN
Test-Inter-1.09.tar.gz
Normal file
BIN
Test-Inter-1.09.tar.gz
Normal file
Binary file not shown.
@ -1,50 +1,85 @@
|
|||||||
Name: perl-Test-Inter
|
%global _empty_manifest_terminate_build 0
|
||||||
Version: 1.07
|
Name: perl-Test-Inter
|
||||||
Release: 4
|
Version: 1.09
|
||||||
Summary: A framework for writing more readable interactive test scripts
|
Release: 2
|
||||||
License: GPL+ or Artistic
|
Summary: Framework for more readable interactive test scripts
|
||||||
URL: https://metacpan.org/release/Test-Inter
|
License: GPL+ or Artistic
|
||||||
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.07.tar.gz
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Test-Inter/
|
||||||
BuildArch: noarch
|
Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz
|
||||||
BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: perl(strict) perl(warnings) perl(File::Basename) perl(IO::File) perl(Config)
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Cwd) perl(Storable) >= 1.01 perl(Test::More)
|
BuildRequires: perl >= 0:5.006
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
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
|
%description
|
||||||
It is another framework for writing test scripts. Much of the syntax is loosely inspired by
|
This is another framework for writing test scripts. Much of the syntax is
|
||||||
Test::More. Though implement most funciton, it is not a drop-in replacement for Test::More.
|
loosely inspired by Test::More, and Test::Inter has most of it's
|
||||||
|
functionality, but it is not a drop-in replacement.
|
||||||
%package help
|
%package help
|
||||||
Summary: Help documents for Perl-Test-Inter
|
Summary : Framework for more readable interactive test scripts
|
||||||
|
Provides: perl-Test-Inter-doc
|
||||||
%description help
|
%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.
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n Test-Inter-1.07
|
%setup -q -n Test-Inter-%{version}
|
||||||
chmod ugoa-x examples/*
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
export PERL_MM_OPT=""
|
||||||
%make_build
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%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/*
|
%{_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
|
%check
|
||||||
unset RELEASE_TESTING
|
make test
|
||||||
%make_build test
|
|
||||||
|
|
||||||
%files
|
%clean
|
||||||
%doc Changes README examples LICENSE
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files -f filelist.lst
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes LICENSE META.json README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Feb 27 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 1.07-4
|
* Sat Aug 1 2020 shixuantong <shixuantong@huawei.com> - 1.09-2
|
||||||
- Package Init
|
- Remove %{?dist} in release tag
|
||||||
|
|
||||||
|
* Tue Jun 16 2020 Perl_Bot <Perl_Bot@openeuler.org> 1.09-1
|
||||||
|
- Specfile autogenerated by Perl_Bot
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user