代码拉取完成,页面将自动刷新
%global _empty_manifest_terminate_build 0
Name: perl-Term-Table
Version: 0.023
Release: 1
Summary: Term::Table Perl module
License: GPL-1.0-or-later or Artistic-1.0
Group: Development/Libraries
URL: https://metacpan.org/release/Term-Table
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Term-Table-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.8.1
BuildRequires: perl(Importer) >= 0.024
BuildRequires: perl(Object::HashBase) >= 0.008
BuildRequires: perl(Test2::API)
BuildRequires: perl(Test2::Tools::Tiny) >= 1.302097
Requires: perl(Importer) >= 0.024
%description
This Perl module is able to format rows of data into tables.
%package help
Summary : Term::Table Perl module
Provides: perl-Term-Table-doc
%description help
This Perl module is able to format rows of data into tables.
%prep
%autosetup -n Term-Table-%{version} -p1
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
export PERL_MM_OPT=""
rm -rf $RPM_BUILD_ROOT
%{make_install}
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
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files -f filelist.lst
%defattr(-,root,root,-)
%doc Changes META.json README
%{perl_vendorlib}/*
%files help
%{_mandir}/*
%changelog
* Wed Nov 06 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 0.023-1
- update to version 0.023
- use Test::More if not available
* Thu Aug 8 2024 dfh <dufuhang@kylinos.cn> - 0.022-1
- Upgrade version to 0.022
- Some initial support for non-ASCII systems
* Mon Jul 22 2024 gss <guoshengsheng@kylinos.cn> - 0.018-1
- Upgrade to version 0.018
- Remove 'Importer' dependency
- Merged doc fix PR
* Tue Jun 21 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.016-1
- Upgrade to version 0.016
* Fri Sep 4 2020 dingyue <dingyue5@huawei.com> -0.015 -2
- Fix install conflict.
* Mon Aug 3 2020 dingyue <dingyue5@huawei.com> -0.015 -1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。