|
Mathieu Bridon |
9d13f7e |
Name: perl-JSON-Path
|
|
|
83e1d4d |
Version: 0.205
|
|
|
aeb3417 |
Release: 4%{?dist}
|
|
Mathieu Bridon |
9d13f7e |
Summary: Search nested hashref/arrayref structures using JSONPath
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
License: MIT
|
|
Mathieu Bridon |
9d13f7e |
URL: http://search.cpan.org/dist/JSON-Path/
|
|
Mathieu Bridon |
9d13f7e |
Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/JSON-Path-%{version}.tar.gz
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
BuildArch: noarch
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
BuildRequires: perl >= 1:5.8.0
|
|
Mathieu Bridon |
9d13f7e |
BuildRequires: perl(common::sense)
|
|
Mathieu Bridon |
9d13f7e |
BuildRequires: perl(Error)
|
|
|
83e1d4d |
BuildRequires: perl(Exporter::Tiny)
|
|
|
aeb3417 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
Mathieu Bridon |
9d13f7e |
BuildRequires: perl(JSON)
|
|
|
83e1d4d |
BuildRequires: perl(LV)
|
|
Mathieu Bridon |
9d13f7e |
BuildRequires: perl(Test::More) >= 0.61
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
# Those are only needed when building for RHEL, on Fedora they come in as
|
|
Mathieu Bridon |
9d13f7e |
# dependencies of the above
|
|
Mathieu Bridon |
9d13f7e |
%if 0%{?rhel} < 7
|
|
Mathieu Bridon |
9d13f7e |
BuildRequires: perl(CPAN)
|
|
Mathieu Bridon |
9d13f7e |
%endif
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Mathieu Bridon |
9d13f7e |
Requires: perl(common::sense)
|
|
Mathieu Bridon |
9d13f7e |
Requires: perl(Error)
|
|
Mathieu Bridon |
9d13f7e |
Requires: perl(JSON)
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
%description
|
|
Mathieu Bridon |
9d13f7e |
This module implements JSONPath, an XPath-like language for searching JSON-
|
|
Mathieu Bridon |
9d13f7e |
like structures.
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
%prep
|
|
Mathieu Bridon |
9d13f7e |
%setup -q -n JSON-Path-%{version}
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
%build
|
|
|
aeb3417 |
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
Mathieu Bridon |
9d13f7e |
make %{?_smp_mflags}
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
%install
|
|
Mathieu Bridon |
9d13f7e |
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
Mathieu Bridon |
9d13f7e |
%{_fixperms} %{buildroot}/*
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
%check
|
|
Mathieu Bridon |
9d13f7e |
make test
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
%files
|
|
|
83e1d4d |
%doc Changes README
|
|
|
aeb3417 |
%{perl_vendorlib}/JSON*
|
|
|
aeb3417 |
%{_mandir}/man3/JSON*
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
|
|
Mathieu Bridon |
9d13f7e |
%changelog
|
|
|
aeb3417 |
* Thu Jan 28 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.205-4
|
|
|
aeb3417 |
- Pass NO_PACKLIST to Makefile.PL
|
|
|
aeb3417 |
- Remove %%defattr macro
|
|
|
aeb3417 |
- Tighten file listing
|
|
|
aeb3417 |
|
|
|
c2c6914 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.205-3
|
|
|
c2c6914 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c2c6914 |
|
|
|
0576942 |
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.205-2
|
|
|
0576942 |
- Perl 5.22 rebuild
|
|
|
0576942 |
|
|
|
83e1d4d |
* Sun Sep 07 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.205-1
|
|
|
83e1d4d |
- Update to 0.205
|
|
|
83e1d4d |
|
|
|
88d7cb7 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.101-9
|
|
|
88d7cb7 |
- Perl 5.20 rebuild
|
|
|
88d7cb7 |
|
|
|
43c641c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101-8
|
|
|
43c641c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
43c641c |
|
|
|
7709899 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101-7
|
|
|
7709899 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7709899 |
|
|
|
42c6db2 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.101-6
|
|
|
42c6db2 |
- Perl 5.18 rebuild
|
|
|
42c6db2 |
|
|
|
542989a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101-5
|
|
|
542989a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
542989a |
|
|
|
95dfac4 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101-4
|
|
|
95dfac4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
95dfac4 |
|
|
|
1011c64 |
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 0.101-3
|
|
|
1011c64 |
- Perl 5.16 rebuild
|
|
|
1011c64 |
|
|
|
e2a0d3d |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101-2
|
|
|
e2a0d3d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e2a0d3d |
|
|
Mathieu Bridon |
9d13f7e |
* Fri Oct 21 2011 Mathieu Bridon <bochecha@fedoraproject.org> 0.101-1
|
|
Mathieu Bridon |
9d13f7e |
- Specfile autogenerated by cpanspec 1.78. (with a couple of tweaks)
|