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