perl-JSON/perl-JSON.spec

276 lines
9.5 KiB
RPMSpec
Raw Normal View History

2017-11-21 15:02:32 +00:00
# Upstream has switched back to five-digit versions temporarily
2017-12-23 11:21:09 +00:00
%global rpm_version 2.97
%global temp_version_suffix 001
2017-11-21 15:02:32 +00:00
2007-04-25 20:22:31 +00:00
Name: perl-JSON
Summary: Parse and convert to JSON (JavaScript Object Notation)
2017-12-23 11:21:09 +00:00
Version: %{rpm_version}%{?temp_version_suffix:.%{temp_version_suffix}}
Release: 4%{?dist}
2008-03-05 16:51:42 +00:00
License: GPL+ or Artistic
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-%{rpm_version}%{?temp_version_suffix}.tar.gz
URL: https://metacpan.org/release/JSON
2007-05-05 20:23:14 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
2007-05-05 20:23:14 +00:00
BuildRequires: perl-generators
2017-11-20 13:46:52 +00:00
BuildRequires: perl-interpreter
2012-06-15 09:10:53 +00:00
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
2012-06-15 09:10:53 +00:00
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
2012-06-15 09:10:53 +00:00
BuildRequires: perl(File::Spec)
BuildRequires: perl(Math::BigFloat)
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(lib)
2007-04-25 20:22:31 +00:00
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
2012-06-15 09:10:53 +00:00
BuildRequires: perl(Tie::IxHash)
2007-04-25 20:22:31 +00:00
%{?perl_default_filter}
2011-07-20 03:29:47 +00:00
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(JSON::(Backend::PP|backportPP::Boolean|Boolean|PP|PP::IncrParser)\\)
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(JSON::(backportPP|backportPP::Boolean)\\)
2011-07-20 03:29:47 +00:00
%{?perl_default_subpackage_tests}
2009-09-01 04:06:27 +00:00
2007-04-25 20:22:31 +00:00
%description
This module converts between JSON (JavaScript Object Notation) and Perl
2009-09-01 04:06:27 +00:00
data structure into each other. For JSON, see http://www.crockford.com/JSON/.
2007-04-25 20:22:31 +00:00
%prep
2017-12-23 11:21:09 +00:00
%setup -q -n JSON-%{rpm_version}%{?temp_version_suffix}
2007-04-25 20:22:31 +00:00
2007-05-05 20:23:14 +00:00
# make rpmlint happy...
find . -type f -exec chmod -c -x {} +
2009-09-01 04:06:27 +00:00
find t/ -type f -exec perl -pi -e 's|^#! perl|#!%{__perl}|' {} +
2008-03-10 03:19:50 +00:00
sed -i 's/\r//' README t/*
2007-04-25 20:22:31 +00:00
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
2017-11-20 13:46:52 +00:00
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
2007-04-25 20:22:31 +00:00
%check
make test
%files
%doc Changes README
2007-04-25 20:22:31 +00:00
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.97.001-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-28 04:07:14 +00:00
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.97.001-3
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.97.001-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2017-12-23 11:21:09 +00:00
* Fri Dec 22 2017 Paul Howarth <paul@city-fan.org> - 2.97.001-1
- Update to 2.97001
- Updated backportPP with JSON::PP 2.97001
2017-11-21 15:02:32 +00:00
* Tue Nov 21 2017 Paul Howarth <paul@city-fan.org> - 2.97-1
- Update to 2.97 (upstream 2.97000 but stick to two-digit minor version
downstream in case upstream changes back before version 3.x)
2017-11-20 13:46:52 +00:00
* Mon Nov 20 2017 Paul Howarth <paul@city-fan.org> - 2.96-1
- Update to 2.96
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-10 21:39:43 +00:00
* Sat Jun 10 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 2.94-1
- Update to 2.94
2017-06-04 15:49:59 +00:00
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.93-3
- Perl 5.26 rebuild
* Tue May 23 2017 Petr Pisar <ppisar@redhat.com> - 2.93-2
- Filter private JSON::backportPP::Boolean
2017-05-22 18:53:32 +00:00
* Mon May 22 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 2.93-1
- Update to 2.93
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.90-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-05-15 18:15:31 +00:00
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.90-7
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.90-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.90-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-06 05:18:47 +00:00
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.90-4
- Perl 5.22 rebuild
2014-08-27 20:59:39 +00:00
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.90-3
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.90-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2013-11-03 10:00:12 +00:00
* Sun Nov 03 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 2.90-1
- Update to 2.90
2013-10-20 07:11:03 +00:00
* Sun Oct 20 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 2.61-1
- Update to 2.61
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-18 10:59:56 +00:00
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.59-2
- Perl 5.18 rebuild
2013-06-09 07:01:26 +00:00
* Sun Jun 09 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 2.59-1
- Update to 2.59
2013-05-26 08:13:01 +00:00
* Sun May 26 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 2.58-1
- Update to 2.58
* Sun Apr 07 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 2.57-1
- Update to 2.57
- Remove no-longer-used macros
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Nov 19 2012 Petr Šabata <contyk@redhat.com> - 2.53-7
- Add some missing and remove some obsolete deps
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-15 05:02:56 +00:00
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.53-5
- Perl 5.16 rebuild
2012-06-15 09:10:53 +00:00
- Specify all dependencies
2012-06-15 05:02:56 +00:00
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-07-20 03:29:47 +00:00
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> 2.53-3
- update filtering macros for rpm 4.9
2011-07-20 02:56:15 +00:00
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.53-2
- Perl mass rebuild
* Sun May 22 2011 Paul Howarth <paul@city-fan.org> 2.53-1
- update to 2.53
- fixed to_json (CPAN RT#68359)
- backport JSON::PP 2.27200 (fixed incr_parse decoding string more correctly
- CPAN RT#68032)
- made Makefile.PL skip an installing XS question when set $ENV{PERL_ONLY} or
$ENV{NO_XS} (CPAN RT#66820)
* Tue Mar 8 2011 Paul Howarth <paul@city-fan.org> 2.51-1
- update to 2.51 (#683052)
- import JSON::PP 2.27105 as BackportPP
- fix documentation (CPAN RT#64738)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.50-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jan 27 2011 Paul Howarth <paul@city-fan.org> 2.50-1
- update to 2.50 (#665621)
- JSON::PP split off into separate distribution and replaced with
JSON::backportPP instead for internal use
- BR: perl(Test::Pod)
- drop t/ from %%doc as the tests are in the -tests subpackage
- filter private module perl(JSON::backportPP) from requires
- filter private module perl(JSON::backportPP::Boolean) from provides
- filter private module perl(JSON::Backend::PP) from provides
- filter private module perl(JSON::Boolean) from provides
- filter private module perl(JSON::PP) from provides (really JSON::backportPP)
- filter private module perl(JSON::PP::IncrParser) from provides
2010-11-21 10:29:45 +00:00
* Sun Nov 21 2010 Iain Arnell <iarnell@gmail.com> 2.27-1
- update to latest upstream version
- clean up spec for modern rpmbuild
2010-05-02 19:31:42 +00:00
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.17-2
- Mass rebuild with perl-5.12.0
* Sun Feb 28 2010 Chris Weyl <cweyl@alumni.drew.edu> 2.17-1
- update by Fedora::App::MaintainerTools 0.004
- PERL_INSTALL_ROOT => DESTDIR
- dropped old BR on perl(HTTP::Request)
- dropped old BR on perl(HTTP::Response)
- dropped old requires on perl(HTTP::Daemon)
- dropped old requires on perl(LWP::UserAgent)
- dropped old requires on perl(Scalar::Util)
* Wed Sep 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.15-5
- adjust filtering so we don't drop the versioned perl(JSON:PP) prov
2009-09-02 02:03:50 +00:00
* Tue Sep 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.15-4
- bump
2009-09-01 04:06:27 +00:00
* Mon Aug 31 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.15-3
2017-11-20 13:46:52 +00:00
- update filtering
2009-09-01 04:06:27 +00:00
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Jun 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.15-1
- auto-update to 2.15 (by cpan-spec-update 0.01)
2009-03-01 23:38:33 +00:00
* Sun Mar 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.14-1
- update to 2.14
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-10-13 04:26:45 +00:00
* Sun Oct 12 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.12-1
- update to 2.12
2008-06-26 03:03:42 +00:00
* Wed Jun 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.11-1
- update to 2.11
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.09-1
- update to 2.09
2008-03-10 03:19:50 +00:00
* Sun Mar 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.07-1
- update to 2.x series before F9
2008-03-05 16:51:42 +00:00
* Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.15-2
- rebuild for new perl
2007-11-27 02:17:02 +00:00
* Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.15-1
- update to 1.15
2007-05-13 17:08:45 +00:00
* Sun May 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.14-1
- update to 1.14
2007-05-09 14:43:33 +00:00
* Wed May 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.13-1
- update to 1.13
2007-05-05 20:23:14 +00:00
* Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.12-1
- update to 1.12
- add t/ to %%doc
2007-04-25 20:24:26 +00:00
* Wed Apr 25 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.11-2
- bump
2007-04-25 20:22:31 +00:00
* Tue Apr 24 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.11-1
- update to 1.11
* Wed Apr 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.10-1
- Specfile autogenerated by cpanspec 1.69.1.