Blame SPECS/perl-Ref-Util.spec

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