* Mon Feb 14 2022 Gavin Carr <gavin@openfusion.net> 0.016-1

- Update to version 0.016.
This commit is contained in:
Jean-Philippe Pialasse 2025-01-27 21:41:45 -05:00
parent e798807e29
commit 50c7f2d909
2 changed files with 66 additions and 40 deletions

BIN
Term-Table-0.016.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,54 +1,77 @@
%define name perl-Term-Table %define module Term::Table
%define version 1.0
%define release 1 Name: perl-Term-Table
Summary: This is what perl-Term-Table does. Version: 0.016
Name: %{name} Release: 1%{?org_tag}%{?dist}
Version: %{version} Summary: Format a header and rows into a table
Release: %{release}%{?dist} License: GPL+ or Artistic
Source: %{name}-%{version}.tar.gz Group: Development/Libraries
License: GNU GPL version 2 URL: http://search.cpan.org/dist/Term-Table/
Group: SMEserver/addon Source0: http://localhost/cpan/authors/id/E/EX/EXODIST/Term-Table-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{_prefix} BuildArch: noarch
BuildArchitectures: noarch BuildRequires: perl >= 0:5.008001
BuildRequires: smeserver-devtools BuildRequires: perl(Carp)
Requires: smeserver-release >= 11.0 BuildRequires: perl(ExtUtils::MakeMaker)
AutoReqProv: no 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 %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 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 <brianr@koozali.org> 1.0-1.sme
- Initial code - create RPM [SME:99999]
%prep %prep
%setup -q -n Term-Table-%{version}
%setup -q
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
rm -f %{name}-%{version}-filelist make pure_install PERL_INSTALL_ROOT=%{buildroot}
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
> %{name}-%{version}-filelist find %{buildroot} -type f -name .packlist -exec rm -f {} \;
#echo "%doc COPYING" >> %{name}-%{version}-filelist find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
#--dir <dir> 'attr(755,user,grp)' \
#--file <file> 'attr(755,root,root)' \ %{_fixperms} %{buildroot}/*
%check
# FIXME: this test isn't working inside mock
rm -f t/honor_env_in_non_tty.t
make test
%clean %clean
cd .. rm -rf %{buildroot}
rm -rf %{name}-%{version}
%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 <gavin@openfusion.net> 0.016-1
- Update to version 0.016.
%post * Wed Aug 04 2021 Gavin Carr <gavin@openfusion.com.au> 0.015-1
- Update to version 0.015.
%postun * Wed May 31 2017 Gavin Carr <gavin@openfusion.com.au> 0.008-1
#uninstall - Specfile autogenerated by cpanspec 1.79.
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)