Chris Weyl d540c20
Name:           perl-JSON-XS
33d9380
Summary:        JSON serializing/de-serializing, done correctly and fast
Chris Weyl 15c4967
Epoch:          1
9ac2faa
Version:        4.03
9ac2faa
Release:        1%{?dist}
Chris Weyl 0778944
License:        GPL+ or Artistic
3a6c5d8
URL:            https://metacpan.org/release/JSON-XS
ea47087
Source0:        https://cpan.metacpan.org/modules/by-module/JSON/JSON-XS-%{version}.tar.gz
33d9380
# Build
5895a30
BuildRequires:  coreutils
33d9380
BuildRequires:  gcc
5895a30
BuildRequires:  make
72d4dd8
BuildRequires:  perl-devel
72d4dd8
BuildRequires:  perl-generators
33d9380
BuildRequires:  perl-interpreter
33d9380
BuildRequires:  perl(Canary::Stability)
33d9380
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
5895a30
BuildRequires:  sed
33d9380
# Module Runtime
Chris Weyl 15c4967
BuildRequires:  perl(common::sense)
3a0c6ac
BuildRequires:  perl(Exporter)
33d9380
BuildRequires:  perl(Types::Serialiser)
33d9380
BuildRequires:  perl(XSLoader)
33d9380
# Script Runtime
3a0c6ac
BuildRequires:  perl(Getopt::Long)
3a0c6ac
BuildRequires:  perl(Storable)
33d9380
BuildRequires:  perl(strict)
33d9380
# Test Suite
33d9380
BuildRequires:  perl(Data::Dumper)
33d9380
BuildRequires:  perl(Encode)
3a0c6ac
BuildRequires:  perl(Test)
Chris Weyl d540c20
BuildRequires:  perl(Test::More)
33d9380
BuildRequires:  perl(Tie::Array)
33d9380
BuildRequires:  perl(Tie::Hash)
33d9380
BuildRequires:  perl(utf8)
33d9380
BuildRequires:  perl(warnings)
33d9380
# Dependencies
33d9380
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl 15c4967
Chris Weyl 15c4967
%{?perl_default_filter}
Chris Weyl 15c4967
%{?perl_default_subpackage_tests}
Chris Weyl 3628cf0
Chris Weyl d540c20
%description
Chris Weyl d540c20
This module converts Perl data structures to JSON and vice versa. Its
Chris Weyl d540c20
primary goal is to be correct and its secondary goal is to be fast. To
Chris Weyl d540c20
reach the latter goal it was written in C.
Chris Weyl d540c20
Chris Weyl d540c20
%prep
Emmanuel Seyman 6bc82c6
%setup -q -n JSON-XS-%{version}
Chris Weyl d540c20
Chris Weyl d540c20
sed -i 's/\r//' t/*
Chris Weyl 15c4967
perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
Chris Weyl d540c20
chmod -c -x eg/*
Chris Weyl d540c20
Chris Weyl d540c20
%build
9ac2faa
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
9ac2faa
%{make_build}
Chris Weyl d540c20
Chris Weyl d540c20
%install
9ac2faa
%{make_install}
33d9380
%{_fixperms} -c %{buildroot}
Chris Weyl d540c20
Chris Weyl d540c20
%check
Chris Weyl d540c20
make test
Chris Weyl d540c20
Chris Weyl d540c20
%files
5895a30
%doc Changes README eg/
5895a30
%license COPYING
9ac2faa
%{_bindir}/json_xs
9ac2faa
%{perl_vendorarch}/auto/JSON/
9ac2faa
%{perl_vendorarch}/JSON/
Chris Weyl 4d4dbb8
%{_mandir}/man[13]/*
Chris Weyl d540c20
Chris Weyl d540c20
%changelog
9ac2faa
* Wed Oct 28 2020 Paul Howarth <paul@city-fan.org> - 1:4.03-1
9ac2faa
- Update to 4.03
9ac2faa
- Use %%{make_build} and %%{make_install}
9ac2faa
- Simplify files list a bit
9ac2faa
2bf4a7d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.02-6
2bf4a7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2bf4a7d
e5bdbf9
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.02-5
e5bdbf9
- Perl 5.32 rebuild
e5bdbf9
dbd8c99
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.02-4
dbd8c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
dbd8c99
c138f94
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.02-3
c138f94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c138f94
533b4aa
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.02-2
533b4aa
- Perl 5.30 rebuild
533b4aa
02d9a10
* Wed Mar  6 2019 Paul Howarth <paul@city-fan.org> - 1:4.02-1
02d9a10
- Update to 4.02
02d9a10
4b68de0
* Mon Feb 25 2019 Paul Howarth <paul@city-fan.org> - 1:4.01-1
4b68de0
- Update to 4.01
4b68de0
6e68da7
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.0-2
6e68da7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6e68da7
ea47087
* Tue Nov 20 2018 Paul Howarth <paul@city-fan.org> - 1:4.0-1
ea47087
- Update to 4.0
ea47087
43501f3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-5
43501f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
43501f3
d28cf4d
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.04-4
d28cf4d
- Perl 5.28 rebuild
d28cf4d
33d9380
* Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 1:3.04-3
33d9380
- Specify all dependencies
33d9380
c56c2e7
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-2
c56c2e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c56c2e7
db9ce00
* Sun Aug 20 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.04-1
db9ce00
- Update to 3.04
db9ce00
20eda8e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.03-6
20eda8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
20eda8e
0d99e7e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.03-5
0d99e7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0d99e7e
a628dbf
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.03-4
a628dbf
- Perl 5.26 rebuild
a628dbf
fb3d8f4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.03-3
fb3d8f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fb3d8f4
cf6cf5f
* Sun Nov 20 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.03-2
cf6cf5f
- Update to 3.03
cf6cf5f
77bbc63
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.02-2
77bbc63
- Perl 5.24 rebuild
77bbc63
5895a30
* Fri Mar 11 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.02-1
5895a30
- Update to 3.02
5895a30
- Add needed BuildRequires
5895a30
- PAss NO_PACKLIST to Makefile.PL
5895a30
- Use %%license macro
5895a30
43ae693
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.01-7
43ae693
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
43ae693
668ed8c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.01-6
668ed8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
668ed8c
6bb68b7
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.01-5
6bb68b7
- Perl 5.22 rebuild
6bb68b7
87885c5
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.01-4
87885c5
- Perl 5.20 rebuild
87885c5
0630937
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.01-3
0630937
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0630937
ad1c70d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.01-2
ad1c70d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ad1c70d
4d6177d
* Sun Nov 03 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.01-1
4d6177d
- Update to 3.01
4d6177d
b8dfd9a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.34-3
b8dfd9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b8dfd9a
0510172
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1:2.34-2
0510172
- Perl 5.18 rebuild
0510172
1d2d478
* Sun May 26 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 1:2.34-1
1d2d478
- Update to 2.34
1d2d478
55b8687
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.33-2
55b8687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
55b8687
Emmanuel Seyman 3051218
* Thu Aug 02 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1:2.33-1
Emmanuel Seyman 3051218
- Update to 2.33
Emmanuel Seyman 3051218
1e21e15
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.32-3
1e21e15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1e21e15
24458b5
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:2.32-2
24458b5
- Perl 5.16 rebuild
3a0c6ac
- Specify all dependencies
24458b5
Emmanuel Seyman 6bc82c6
* Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1:2.32-1
Emmanuel Seyman 6bc82c6
- Update to 2.32
Emmanuel Seyman 6bc82c6
- Clean up spec file
Emmanuel Seyman 6bc82c6
f9ba4a6
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-3
f9ba4a6
- Perl mass rebuild
f9ba4a6
f7aff81
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-2
f7aff81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f7aff81
7cb38db
* Mon Oct 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-1
7cb38db
- update
7cb38db
efcd0ce
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:2.27-2
efcd0ce
- Mass rebuild with perl-5.12.0
efcd0ce
Chris Weyl 15c4967
* Sat Feb 27 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:2.27-1
Chris Weyl 15c4967
- update by Fedora::App::MaintainerTools 0.004
Chris Weyl 15c4967
- PERL_INSTALL_ROOT => DESTDIR
Chris Weyl 15c4967
- added a new br on perl(common::sense) (version 0)
Chris Weyl 15c4967
- added a new req on perl(common::sense) (version 0)
Chris Weyl 15c4967
1b67bd0
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:2.24-3
1b67bd0
- rebuild against perl 5.10.1
1b67bd0
f2fe420
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.24-2
f2fe420
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f2fe420
Chris Weyl 0778944
* Tue Jun 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.24-1
Chris Weyl 0778944
- auto-update to 2.24 (by cpan-spec-update 0.01)
Chris Weyl 0778944
Chris Weyl 3628cf0
* Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.2311-4
Chris Weyl 3628cf0
- Stripping bad provides of private Perl extension libs
Chris Weyl 3628cf0
bf06aa8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-3
bf06aa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bf06aa8
c1fd006
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-2
c1fd006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c1fd006
Chris Weyl 8c78c3b
* Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.2311-1
Chris Weyl 8c78c3b
- update to 2.2311
Chris Weyl 8c78c3b
Chris Weyl 4d4dbb8
* Sun Sep 07 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2222-1
Chris Weyl 4d4dbb8
- update to the increasingly silly version of 2.2222
Chris Weyl 4d4dbb8
- update files to include bin
Chris Weyl 4d4dbb8
Chris Weyl 05c27d8
* Wed Jun 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.21-1
Chris Weyl 05c27d8
- update to 2.21
Chris Weyl 05c27d8
Chris Weyl 05c27d8
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2-1
Chris Weyl 05c27d8
- update to 2.2
Chris Weyl 05c27d8
Chris Weyl be8ffb5
* Sun Mar 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.01-1
Chris Weyl be8ffb5
- update to 2.x series before F9
Chris Weyl be8ffb5
bf872ff
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.52-3
bf872ff
Rebuild for new perl
bf872ff
586ec90
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.52-2
586ec90
- Autorebuild for GCC 4.3
586ec90
Chris Weyl 6efe062
* Wed Oct 17 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.52-1
Chris Weyl 6efe062
- update to 1.52
Chris Weyl 6efe062
- license tag update: GPL -> GPL+
Chris Weyl 6efe062
Chris Weyl dfccfe3
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-2
Chris Weyl dfccfe3
- bump
Chris Weyl dfccfe3
Chris Weyl 98eb6eb
* Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-1
Chris Weyl 98eb6eb
- update to 1.43
Chris Weyl 98eb6eb
Chris Weyl 9c2474e
* Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.22-1
Chris Weyl 9c2474e
- update to 1.22
Chris Weyl 9c2474e
Chris Weyl 08f551e
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-3
Chris Weyl 08f551e
- bump
Chris Weyl 08f551e
Chris Weyl d540c20
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-2
Chris Weyl d540c20
- add eg/ to doc
Chris Weyl d540c20
Chris Weyl d540c20
* Sun May 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-1
Chris Weyl d540c20
- Specfile autogenerated by cpanspec 1.71.