diff --git a/Term-Table-0.016.tar.gz b/Term-Table-0.016.tar.gz new file mode 100644 index 0000000..f3b7d9a --- /dev/null +++ b/Term-Table-0.016.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fb4fbb8e96a2d6c514949eb8cfd7e66319bcb1cbf7cea0ab19af887a72d97bf +size 28343 diff --git a/perl-Term-Table.spec b/perl-Term-Table.spec index eac45d9..66509da 100644 --- a/perl-Term-Table.spec +++ b/perl-Term-Table.spec @@ -1,54 +1,77 @@ -%define name perl-Term-Table -%define version 1.0 -%define release 1 -Summary: This is what perl-Term-Table does. -Name: %{name} -Version: %{version} -Release: %{release}%{?dist} -Source: %{name}-%{version}.tar.gz -License: GNU GPL version 2 -Group: SMEserver/addon -BuildRoot: %{_tmppath}/%{name}-buildroot -Prefix: %{_prefix} -BuildArchitectures: noarch -BuildRequires: smeserver-devtools -Requires: smeserver-release >= 11.0 -AutoReqProv: no +%define module Term::Table + +Name: perl-Term-Table +Version: 0.016 +Release: 1%{?org_tag}%{?dist} +Summary: Format a header and rows into a table +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Term-Table/ +Source0: http://localhost/cpan/authors/id/E/EX/EXODIST/Term-Table-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 0:5.008001 +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Importer) >= 0.024 +BuildRequires: perl(List::Util) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Term::Size::Any) >= 0.002 +BuildRequires: perl(Test2::Tools::Tiny) >= 1.302072 +BuildRequires: perl(Unicode::LineBreak) >= 2015.06 +Requires: perl(Carp) +Requires: perl(Importer) >= 0.024 +Requires: perl(List::Util) +Requires: perl(Scalar::Util) +Requires: perl(Term::Size::Any) >= 0.002 +Requires: perl(Unicode::LineBreak) >= 2015.06 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Autoreq: no +%if %{rhel} >= 8 +Provides: perl(%{module}) = %{version} +%endif %description -This is used by some failing tests to provide diagnostics about what has gone wrong. This module is able to generic format rows of data into tables - -%changelog -* Day MMMM DD YYYY 1.0-1.sme -- Initial code - create RPM [SME:99999] +This is used by some failing tests to provide diagnostics about what has +gone wrong. This module is able to generic format rows of data into tables. %prep - -%setup -q +%setup -q -n Term-Table-%{version} %build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) -rm -f %{name}-%{version}-filelist -/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ -> %{name}-%{version}-filelist -#echo "%doc COPYING" >> %{name}-%{version}-filelist -#--dir 'attr(755,user,grp)' \ -#--file 'attr(755,root,root)' \ +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +# FIXME: this test isn't working inside mock +rm -f t/honor_env_in_non_tty.t +make test %clean -cd .. -rm -rf %{name}-%{version} +rm -rf %{buildroot} -%pre +%files +%defattr(-,root,root,-) +%doc appveyor.yml Changes cpanfile LICENSE META.json README README.md +%{perl_vendorlib}/* +%{_mandir}/man3/* -%preun +%changelog +* Mon Feb 14 2022 Gavin Carr 0.016-1 +- Update to version 0.016. -%post +* Wed Aug 04 2021 Gavin Carr 0.015-1 +- Update to version 0.015. -%postun -#uninstall -%files -f %{name}-%{version}-filelist -%defattr(-,root,root) +* Wed May 31 2017 Gavin Carr 0.008-1 +- Specfile autogenerated by cpanspec 1.79.