|
|
eb7957d |
# Run optional tests
|
|
|
2a73852 |
%if ! (0%{?rhel})
|
|
|
c2bccff |
%bcond_without perl_Ref_Util_XS_enables_optional_test
|
|
|
2a73852 |
%else
|
|
|
2a73852 |
%bcond_with perl_Ref_Util_XS_enables_optional_test
|
|
|
2a73852 |
%endif
|
|
|
c2bccff |
|
|
|
87a16db |
Name: perl-Ref-Util-XS
|
|
|
eb7957d |
Version: 0.117
|
|
|
630ef35 |
Release: 14%{?dist}
|
|
|
e8fb2c0 |
Summary: Utility functions for checking references
|
|
|
e8fb2c0 |
License: MIT
|
|
|
be980a5 |
URL: https://metacpan.org/release/Ref-Util-XS
|
|
|
be980a5 |
Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Ref-Util-XS-%{version}.tar.gz
|
|
|
e8fb2c0 |
# Build
|
|
|
e8fb2c0 |
BuildRequires: coreutils
|
|
|
e8fb2c0 |
BuildRequires: findutils
|
|
|
e8fb2c0 |
BuildRequires: gcc
|
|
|
e8fb2c0 |
BuildRequires: make
|
|
|
e8fb2c0 |
BuildRequires: perl-devel
|
|
|
e8fb2c0 |
BuildRequires: perl-generators
|
|
|
40ea5f9 |
BuildRequires: perl-interpreter
|
|
|
e8fb2c0 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
e8fb2c0 |
# Module
|
|
|
e8fb2c0 |
BuildRequires: perl(Exporter) >= 5.57
|
|
|
e8fb2c0 |
BuildRequires: perl(strict)
|
|
|
e8fb2c0 |
BuildRequires: perl(warnings)
|
|
|
e8fb2c0 |
BuildRequires: perl(XSLoader)
|
|
|
e8fb2c0 |
# Test Suite
|
|
|
e8fb2c0 |
BuildRequires: perl(constant)
|
|
|
40b3be2 |
BuildRequires: perl(File::Spec)
|
|
|
132dfa8 |
BuildRequires: perl(Test::More) >= 0.94
|
|
|
c2bccff |
%if %{with perl_Ref_Util_XS_enables_optional_test}
|
|
|
8336b24 |
# Optional Tests
|
|
|
40b3be2 |
BuildRequires: perl(B::Concise)
|
|
|
40b3be2 |
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
8336b24 |
BuildRequires: perl(Readonly)
|
|
|
c2bccff |
%endif
|
|
|
e8fb2c0 |
# Runtime
|
|
|
e8fb2c0 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
# Avoid provides for private objects
|
|
|
e8fb2c0 |
%{?perl_default_filter}
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
%description
|
|
|
87a16db |
Ref::Util::XS introduces several functions to help identify references in a
|
|
|
87a16db |
faster and smarter way.
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
%prep
|
|
|
87a16db |
%setup -q -n Ref-Util-XS-%{version}
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
%build
|
|
|
e8fb2c0 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
e8fb2c0 |
make %{?_smp_mflags}
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
%install
|
|
|
e8fb2c0 |
make pure_install DESTDIR=%{buildroot}
|
|
|
e8fb2c0 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
e8fb2c0 |
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
132dfa8 |
%{_fixperms} -c %{buildroot}
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
%check
|
|
|
e8fb2c0 |
make test
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
%files
|
|
|
e8fb2c0 |
%license LICENSE
|
|
|
e8fb2c0 |
%doc Changes README
|
|
|
e8fb2c0 |
%{perl_vendorarch}/auto/Ref/
|
|
|
e8fb2c0 |
%{perl_vendorarch}/Ref/
|
|
|
87a16db |
%{_mandir}/man3/Ref::Util::XS.3*
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
%changelog
|
|
|
630ef35 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-14
|
|
|
630ef35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
630ef35 |
|
|
|
1da5de4 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-13
|
|
|
1da5de4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
1da5de4 |
|
|
|
10273f3 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.117-12
|
|
|
10273f3 |
- Perl 5.34 rebuild
|
|
|
10273f3 |
|
|
|
34e6f5a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-11
|
|
|
34e6f5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
34e6f5a |
|
|
|
bf6c47e |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-10
|
|
|
bf6c47e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
bf6c47e |
|
|
|
b0870a1 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.117-9
|
|
|
b0870a1 |
- Perl 5.32 rebuild
|
|
|
b0870a1 |
|
|
|
f4c1265 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-8
|
|
|
f4c1265 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f4c1265 |
|
|
|
4768a9d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-7
|
|
|
4768a9d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
4768a9d |
|
|
|
b94c409 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.117-6
|
|
|
b94c409 |
- Perl 5.30 rebuild
|
|
|
b94c409 |
|
|
|
4c06366 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-5
|
|
|
4c06366 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
4c06366 |
|
|
|
42e86d3 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-4
|
|
|
42e86d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
42e86d3 |
|
|
|
374319d |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.117-3
|
|
|
374319d |
- Perl 5.28 rebuild
|
|
|
374319d |
|
|
|
a50fc66 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-2
|
|
|
a50fc66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a50fc66 |
|
|
|
eb7957d |
* Wed Jan 31 2018 Paul Howarth <paul@city-fan.org> - 0.117-1
|
|
|
eb7957d |
- Update to 0.117
|
|
|
eb7957d |
- Allow the custom OPs to be deparsed with B::Deparse
|
|
|
eb7957d |
- Optimize the shared object size by moving common call checker logic into a
|
|
|
eb7957d |
function
|
|
|
eb7957d |
|
|
|
5695c17 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.116-5
|
|
|
5695c17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
5695c17 |
|
|
|
82e4257 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.116-4
|
|
|
82e4257 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
82e4257 |
|
|
|
3f460dd |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.116-3
|
|
|
3f460dd |
- Perl 5.26 rebuild
|
|
|
3f460dd |
|
|
|
62a3a45 |
* Tue May 30 2017 Paul Howarth <paul@city-fan.org> - 0.116-2
|
|
|
62a3a45 |
- Incorporate package review feedback (#1450440)
|
|
|
62a3a45 |
- Drop EL6-isms as we need Test::More 0.94, which EL-6 will never have
|
|
|
62a3a45 |
|
|
|
923167c |
* Mon May 15 2017 Paul Howarth <paul@city-fan.org> - 0.116-1
|
|
|
923167c |
- Update to 0.116
|
|
|
923167c |
- Changes rephrasing
|
|
|
923167c |
- Restore 5.6 compatibility
|
|
|
923167c |
- Replace docs with a link to Ref::Util
|
|
|
923167c |
|
|
|
87a16db |
* Fri May 12 2017 Paul Howarth <paul@city-fan.org> - 0.115-1
|
|
|
87a16db |
- Package renamed Ref-Util-XS to make room for Ref-Util's new pure-Perl
|
|
|
923167c |
implementation
|
|
|
87a16db |
|
|
|
f42f6b6 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-2
|
|
|
f42f6b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f42f6b6 |
|
|
|
dfafa78 |
* Tue Jan 17 2017 Paul Howarth <paul@city-fan.org> - 0.113-1
|
|
|
dfafa78 |
- Update to 0.113
|
|
|
dfafa78 |
- Fix bugtracker link
|
|
|
dfafa78 |
|
|
|
d399246 |
* Sun Jan 15 2017 Paul Howarth <paul@city-fan.org> - 0.112-1
|
|
|
d399246 |
- Update to 0.112
|
|
|
d399246 |
- Fix compilation on Sun (Oracle) and some MSVC compilers (GH#35)
|
|
|
d399246 |
|
|
|
40b3be2 |
* Fri Dec 30 2016 Paul Howarth <paul@city-fan.org> - 0.111-1
|
|
|
40b3be2 |
- Update to 0.111
|
|
|
40b3be2 |
- Fix test failure on 5.8.5 and under
|
|
|
40b3be2 |
- Moved to Dist::Zilla
|
|
|
40b3be2 |
|
|
|
132dfa8 |
* Thu Dec 29 2016 Paul Howarth <paul@city-fan.org> - 0.110-1
|
|
|
132dfa8 |
- Update to 0.110
|
|
|
132dfa8 |
- Fix support of 5.8 (GH#29, GH#34)
|
|
|
132dfa8 |
- Additional optimizations
|
|
|
132dfa8 |
- More extensive test suite
|
|
|
132dfa8 |
|
|
|
8336b24 |
* Mon Aug 29 2016 Paul Howarth <paul@city-fan.org> - 0.101-1
|
|
|
8336b24 |
- Update to 0.101
|
|
|
8336b24 |
- A test accidentally added a dependency on Readonly.pm - fixed! (GH#30)
|
|
|
8336b24 |
- Update README
|
|
|
8336b24 |
|
|
|
18e3714 |
* Sat Aug 27 2016 Paul Howarth <paul@city-fan.org> - 0.100-1
|
|
|
18e3714 |
- Update to 0.100
|
|
|
18e3714 |
- Support situations in op-code implementation where the parameters do not
|
|
|
18e3714 |
come as a list
|
|
|
18e3714 |
- Fix memory leak in dangling op
|
|
|
18e3714 |
- Support magic (tied variables)
|
|
|
18e3714 |
- Rework op implementation
|
|
|
18e3714 |
- Speed up by changing the top of the stack instead of POPing and PUSHing
|
|
|
18e3714 |
- Update ppport.h file from Devel::PPPort and remove the copy of SVRXOK since
|
|
|
18e3714 |
it's now available
|
|
|
18e3714 |
- Add license in Pod
|
|
|
18e3714 |
- Specify minimum version of perl (5.6.2)
|
|
|
18e3714 |
|
|
|
e8fb2c0 |
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 0.020-2
|
|
|
e8fb2c0 |
- Sanitize for Fedora submission
|
|
|
e8fb2c0 |
|
|
|
e8fb2c0 |
* Thu Jul 28 2016 Paul Howarth <paul@city-fan.org> - 0.020-1
|
|
|
e8fb2c0 |
- Initial RPM version
|