Blame SPECS/perl-JSON-XS.spec

846406
Name:           perl-JSON-XS
846406
Summary:        JSON serializing/de-serializing, done correctly and fast
846406
Epoch:          1
846406
Version:        4.03
846406
Release:        5%{?dist}
846406
License:        GPL+ or Artistic
846406
URL:            https://metacpan.org/release/JSON-XS
846406
Source0:        https://cpan.metacpan.org/modules/by-module/JSON/JSON-XS-%{version}.tar.gz
846406
# Build
846406
BuildRequires:  coreutils
846406
BuildRequires:  gcc
846406
BuildRequires:  make
846406
BuildRequires:  perl-devel
846406
BuildRequires:  perl-generators
846406
BuildRequires:  perl-interpreter
846406
BuildRequires:  perl(Canary::Stability)
846406
BuildRequires:  perl(Config)
846406
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
846406
BuildRequires:  sed
846406
# Module Runtime
846406
BuildRequires:  perl(common::sense)
846406
BuildRequires:  perl(Exporter)
846406
BuildRequires:  perl(Types::Serialiser)
846406
BuildRequires:  perl(XSLoader)
846406
# Script Runtime
846406
BuildRequires:  perl(Getopt::Long)
846406
BuildRequires:  perl(Storable)
846406
BuildRequires:  perl(strict)
846406
# Test Suite
846406
BuildRequires:  perl(Data::Dumper)
846406
BuildRequires:  perl(Encode)
846406
BuildRequires:  perl(Test)
846406
BuildRequires:  perl(Test::More)
846406
BuildRequires:  perl(Tie::Array)
846406
BuildRequires:  perl(Tie::Hash)
846406
BuildRequires:  perl(utf8)
846406
BuildRequires:  perl(warnings)
846406
# Dependencies
846406
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
846406
846406
%{?perl_default_filter}
846406
846406
%description
846406
This module converts Perl data structures to JSON and vice versa. Its
846406
primary goal is to be correct and its secondary goal is to be fast. To
846406
reach the latter goal it was written in C.
846406
846406
%package tests
846406
Summary:        Tests for %{name}
846406
BuildArch:      noarch
846406
Requires:       %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
846406
Requires:       perl-Test-Harness
846406
846406
%description tests
846406
Tests from %{name}. Execute them
846406
with "%{_libexecdir}/%{name}/test".
846406
846406
%prep
846406
%setup -q -n JSON-XS-%{version}
846406
846406
sed -i 's/\r//' t/*
846406
perl -MConfig -pi -e 's|^#!/opt/bin/perl|$Config{startperl}|' eg/*
846406
chmod -c -x eg/*
846406
846406
# Help generators to recognize Perl scripts
846406
for F in t/*.t; do
846406
    perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
846406
    chmod +x "$F"
846406
done
846406
846406
%build
846406
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 
846406
%{make_build}
846406
846406
%install
846406
%{make_install}
846406
# Install tests
846406
mkdir -p %{buildroot}%{_libexecdir}/%{name}
846406
cp -a t %{buildroot}%{_libexecdir}/%{name}
846406
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
846406
#!/bin/sh
846406
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
846406
EOF
846406
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
846406
# Correct permissions
846406
%{_fixperms} -c %{buildroot}
846406
846406
%check
846406
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
846406
make test
846406
846406
%files
846406
%doc Changes README eg/
846406
%license COPYING
846406
%{_bindir}/json_xs
846406
%{perl_vendorarch}/auto/JSON/
846406
%{perl_vendorarch}/JSON/
846406
%{_mandir}/man[13]/*
846406
846406
%files tests
846406
%{_libexecdir}/%{name}
846406
846406
%changelog
846406
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.03-5
846406
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
846406
  Related: rhbz#1991688
846406
846406
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.03-4
846406
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
846406
846406
* Mon Feb 22 2021 Petr Pisar <ppisar@redhat.com> - 1:4.03-3
846406
- Package tests manually
846406
846406
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.03-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
846406
846406
* Wed Oct 28 2020 Paul Howarth <paul@city-fan.org> - 1:4.03-1
846406
- Update to 4.03
846406
- Use %%{make_build} and %%{make_install}
846406
- Simplify files list a bit
846406
846406
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.02-6
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
846406
846406
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.02-5
846406
- Perl 5.32 rebuild
846406
846406
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.02-4
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
846406
846406
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.02-3
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
846406
846406
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.02-2
846406
- Perl 5.30 rebuild
846406
846406
* Wed Mar  6 2019 Paul Howarth <paul@city-fan.org> - 1:4.02-1
846406
- Update to 4.02
846406
846406
* Mon Feb 25 2019 Paul Howarth <paul@city-fan.org> - 1:4.01-1
846406
- Update to 4.01
846406
846406
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.0-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
846406
846406
* Tue Nov 20 2018 Paul Howarth <paul@city-fan.org> - 1:4.0-1
846406
- Update to 4.0
846406
846406
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-5
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
846406
846406
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.04-4
846406
- Perl 5.28 rebuild
846406
846406
* Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 1:3.04-3
846406
- Specify all dependencies
846406
846406
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.04-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
846406
846406
* Sun Aug 20 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.04-1
846406
- Update to 3.04
846406
846406
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.03-6
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
846406
846406
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.03-5
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
846406
846406
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.03-4
846406
- Perl 5.26 rebuild
846406
846406
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.03-3
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
846406
846406
* Sun Nov 20 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.03-2
846406
- Update to 3.03
846406
846406
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.02-2
846406
- Perl 5.24 rebuild
846406
846406
* Fri Mar 11 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.02-1
846406
- Update to 3.02
846406
- Add needed BuildRequires
846406
- PAss NO_PACKLIST to Makefile.PL
846406
- Use %%license macro
846406
846406
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.01-7
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
846406
846406
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.01-6
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
846406
846406
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.01-5
846406
- Perl 5.22 rebuild
846406
846406
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.01-4
846406
- Perl 5.20 rebuild
846406
846406
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.01-3
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
846406
846406
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.01-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
846406
846406
* Sun Nov 03 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.01-1
846406
- Update to 3.01
846406
846406
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.34-3
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
846406
846406
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1:2.34-2
846406
- Perl 5.18 rebuild
846406
846406
* Sun May 26 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 1:2.34-1
846406
- Update to 2.34
846406
846406
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.33-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
846406
846406
* Thu Aug 02 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1:2.33-1
846406
- Update to 2.33
846406
846406
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.32-3
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
846406
846406
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:2.32-2
846406
- Perl 5.16 rebuild
846406
- Specify all dependencies
846406
846406
* Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1:2.32-1
846406
- Update to 2.32
846406
- Clean up spec file
846406
846406
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-3
846406
- Perl mass rebuild
846406
846406
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
846406
846406
* Mon Oct 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-1
846406
- update
846406
846406
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:2.27-2
846406
- Mass rebuild with perl-5.12.0
846406
846406
* Sat Feb 27 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:2.27-1
846406
- update by Fedora::App::MaintainerTools 0.004
846406
- PERL_INSTALL_ROOT => DESTDIR
846406
- added a new br on perl(common::sense) (version 0)
846406
- added a new req on perl(common::sense) (version 0)
846406
846406
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:2.24-3
846406
- rebuild against perl 5.10.1
846406
846406
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.24-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
846406
846406
* Tue Jun 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.24-1
846406
- auto-update to 2.24 (by cpan-spec-update 0.01)
846406
846406
* Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.2311-4
846406
- Stripping bad provides of private Perl extension libs
846406
846406
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-3
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
846406
846406
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-2
846406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
846406
846406
* Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.2311-1
846406
- update to 2.2311
846406
846406
* Sun Sep 07 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2222-1
846406
- update to the increasingly silly version of 2.2222
846406
- update files to include bin
846406
846406
* Wed Jun 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.21-1
846406
- update to 2.21
846406
846406
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2-1
846406
- update to 2.2
846406
846406
* Sun Mar 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.01-1
846406
- update to 2.x series before F9
846406
846406
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.52-3
846406
Rebuild for new perl
846406
846406
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.52-2
846406
- Autorebuild for GCC 4.3
846406
846406
* Wed Oct 17 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.52-1
846406
- update to 1.52
846406
- license tag update: GPL -> GPL+
846406
846406
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-2
846406
- bump
846406
846406
* Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-1
846406
- update to 1.43
846406
846406
* Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.22-1
846406
- update to 1.22
846406
846406
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-3
846406
- bump
846406
846406
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-2
846406
- add eg/ to doc
846406
846406
* Sun May 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-1
846406
- Specfile autogenerated by cpanspec 1.71.