Name: perl-Ref-Util
Version: 0.113
Release: 1%{?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/X/XS/XSAWYERX/Ref-Util-%{version}.tar.gz
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
# Module
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Test Suite
BuildRequires: perl(constant)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More) >= 0.94
# Optional Tests
BuildRequires: perl(B::Concise)
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(Readonly)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Avoid provides for private objects
%{?perl_default_filter}
%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
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README
%{perl_vendorarch}/auto/Ref/
%{perl_vendorarch}/Ref/
%{_mandir}/man3/Ref::Util.3*
%changelog
* Tue Jan 17 2017 Paul Howarth <paul@city-fan.org> - 0.113-1
- Update to 0.113
- Fix bugtracker link
* Sun Jan 15 2017 Paul Howarth <paul@city-fan.org> - 0.112-1
- Update to 0.112
- Fix compilation on Sun (Oracle) and some MSVC compilers (GH#35)
* Fri Dec 30 2016 Paul Howarth <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 0.020-2
- Sanitize for Fedora submission
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 0.020-1
- Initial RPM version