commit ab0fdbbd10994284cec93eed069c00cbb40d521c Author: CentOS Sources Date: Tue May 7 06:30:23 2019 -0400 import perl-Ref-Util-0.203-4.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7273eef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Ref-Util-0.203.tar.gz diff --git a/.perl-Ref-Util.metadata b/.perl-Ref-Util.metadata new file mode 100644 index 0000000..6cd4895 --- /dev/null +++ b/.perl-Ref-Util.metadata @@ -0,0 +1 @@ +a00535e5c4d315e89c88f732698276902080010f SOURCES/Ref-Util-0.203.tar.gz diff --git a/SPECS/perl-Ref-Util.spec b/SPECS/perl-Ref-Util.spec new file mode 100644 index 0000000..80baf9b --- /dev/null +++ b/SPECS/perl-Ref-Util.spec @@ -0,0 +1,157 @@ +# Run optional test +%bcond_without perl_Ref_Util_enables_optional_test + +Name: perl-Ref-Util +Version: 0.203 +Release: 4%{?dist} +Summary: Utility functions for checking references +License: MIT +URL: http://search.cpan.org/dist/Ref-Util/ +Source0: http://search.cpan.org/CPAN/authors/id/A/AR/ARC/Ref-Util-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(lib) +BuildRequires: perl(Text::ParseWords) +# Dependencies of bundled ExtUtils::HasCompiler +BuildRequires: gcc +BuildRequires: perl-devel +BuildRequires: perl(base) +BuildRequires: perl(Config) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +# Module +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IPC::Open2) +BuildRequires: perl(Ref::Util::XS) +BuildRequires: perl(Test::More) >= 0.96 +%if %{with perl_Ref_Util_enables_optional_test} +# Optional Tests +BuildRequires: perl(B::Concise) +BuildRequires: perl(CPAN::Meta) >= 2.120900 +BuildRequires: perl(Readonly) +%endif +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Ref::Util::XS) + +%description +Ref::Util introduces several functions to help identify references in a faster +and smarter way. + +%prep +%setup -q -n Ref-Util-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} + +%check +make test + +%files +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README +%{perl_vendorlib}/Ref/ +%{_mandir}/man3/Ref::Util.3* +%{_mandir}/man3/Ref::Util::PP.3* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.203-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.203-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 0.203-2 +- Perl 5.26 rebuild + +* Mon May 15 2017 Paul Howarth - 0.203-1 +- Update to 0.203 + - Fix space/tab issue in Makefile + - Don't use DynamicPrereqs for unrelated Makefile.PL snippet + - Use of the Pure-Perl implementation can now be forced at runtime by setting + either $Ref::Util::IMPLEMENTATION or $ENV{PERL_REF_UTIL_IMPLEMENTATION} to + "XS" + - Fix is_*_formatref() error messages (GH#38) + - Speed enhancements for is_*_formatref() on 5.8+ + - Restore 5.6 and 5.8 compatibility + - PP behaviour now matches XS for \v1.2.3 and \sub {} + - Updated documentation to reflect the PP/XS split + +* Fri May 12 2017 Paul Howarth - 0.200-1 +- Update to 0.200 + - Reimplement in pure Perl, with a dynamic dependency on a new Ref::Util::XS + module that contains the fast XS implementation +- This release by ARC → update source URL +- Package is now noarch + +* Sat Feb 11 2017 Fedora Release Engineering - 0.113-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jan 17 2017 Paul Howarth - 0.113-1 +- Update to 0.113 + - Fix bugtracker link + +* Sun Jan 15 2017 Paul Howarth - 0.112-1 +- Update to 0.112 + - Fix compilation on Sun (Oracle) and some MSVC compilers (GH#35) + +* Fri Dec 30 2016 Paul Howarth - 0.111-1 +- Update to 0.111 + - Fix test failure on 5.8.5 and under + - Moved to Dist::Zilla + +* Thu Dec 29 2016 Paul Howarth - 0.110-1 +- Update to 0.110 + - Fix support of 5.8 (GH#29, GH#34) + - Additional optimizations + - More extensive test suite + +* Mon Aug 29 2016 Paul Howarth - 0.101-1 +- Update to 0.101 + - A test accidentally added a dependency on Readonly.pm - fixed! (GH#30) + - Update README + +* Sat Aug 27 2016 Paul Howarth - 0.100-1 +- Update to 0.100 + - Support situations in op-code implementation where the parameters do not + come as a list + - Fix memory leak in dangling op + - Support magic (tied variables) + - Rework op implementation + - Speed up by changing the top of the stack instead of POPing and PUSHing + - Update ppport.h file from Devel::PPPort and remove the copy of SVRXOK since + it's now available + - Add license in Pod + - Specify minimum version of perl (5.6.2) + +* Thu Jul 28 2016 Paul Howarth - 0.020-2 +- Sanitize for Fedora submission + +* Thu Jul 28 2016 Paul Howarth - 0.020-1 +- Initial RPM version