%global _empty_manifest_terminate_build 0 Name: perl-Date-ISO8601 Version: 0.005 Release: 1 Summary: Three ISO 8601 numerical calendars License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Date-ISO8601/ Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Date-ISO8601-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(integer) BuildRequires: perl(Module::Build) BuildRequires: perl(parent) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) Requires: perl(Carp) Requires: perl(constant) Requires: perl(Exporter) Requires: perl(integer) Requires: perl(parent) Requires: perl(strict) Requires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module places no limit on the range of dates to which it may be applied. All function arguments are permitted to be Math::BigInt or Math::BigRat objects in order to achieve arbitrary range. Native Perl integers are also permitted, as a convenience when the range of dates being handled is known to be sufficiently small. %package help Summary : Three ISO 8601 numerical calendars Provides: perl-Date-ISO8601-doc %description help This module places no limit on the range of dates to which it may be applied. All function arguments are permitted to be Math::BigInt or Math::BigRat objects in order to achieve arbitrary range. Native Perl integers are also permitted, as a convenience when the range of dates being handled is known to be sufficiently small. %prep %setup -q -n Date-ISO8601-%{version} %build export PERL_MM_OPT="" %{__perl} Build.PL --installdirs=vendor ./Build %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 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 ./Build 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 Jun 30 2021 Perl_Bot 0.005-1 - Specfile autogenerated by Perl_Bot