Compare commits
No commits in common. "c8-stream-5.3" and "c10s" have entirely different histories.
c8-stream-
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/JSON-PP-4.04.tar.gz
|
||||
/JSON-PP-[0-9.]*.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
f0a1ba2308bb0908881142aaf66b92f67b3a9682 SOURCES/JSON-PP-4.04.tar.gz
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
# RHEL
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -3,10 +3,10 @@
|
||||
|
||||
Name: perl-JSON-PP
|
||||
Epoch: 1
|
||||
Version: 4.04
|
||||
Release: 2%{?dist}
|
||||
Version: 4.16
|
||||
Release: 512%{?dist}
|
||||
Summary: JSON::XS compatible pure-Perl module
|
||||
License: GPL+ or Artistic
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/release/JSON-PP
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-PP-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
@ -35,19 +35,22 @@ BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
# Test Suite
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(charnames)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Tie::Array)
|
||||
BuildRequires: perl(Tie::Hash)
|
||||
BuildRequires: perl(vars)
|
||||
# Optional Tests
|
||||
%if %{with perl_JSON_PP_enables_optional_test}
|
||||
# Optional tests
|
||||
# Note: t/rt_122270_old_xs_boolean.t is testing for compatibility with old
|
||||
# versions of JSON:XS and Types::Serialiser that we no longer use, so we
|
||||
# don't include those modules as optional test dependencies
|
||||
%if !%{defined perl_bootstrap}
|
||||
# Disable non-core dependencies when bootstrapping a core module
|
||||
BuildRequires: perl(Tie::IxHash)
|
||||
%endif
|
||||
%endif
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(Encode)
|
||||
Requires: perl(Math::BigFloat)
|
||||
@ -62,8 +65,22 @@ Marc Lehmann in C, so must be compiled and installed in the used environment.
|
||||
|
||||
JSON::PP is a pure-Perl module and is compatible with JSON::XS.
|
||||
|
||||
%package tests
|
||||
Summary: Tests for %{name}
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: perl-Test-Harness
|
||||
|
||||
%description tests
|
||||
Tests from %{name}. Execute them
|
||||
with "%{_libexecdir}/%{name}/test".
|
||||
|
||||
%prep
|
||||
%setup -q -n JSON-PP-%{version}
|
||||
# Help generators to recognize Perl scripts
|
||||
for F in t/*.t; do
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
@ -73,6 +90,14 @@ make %{?_smp_mflags}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
# Install tests
|
||||
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
#!/bin/sh
|
||||
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -85,7 +110,132 @@ make test
|
||||
%{_mandir}/man3/JSON::PP.3*
|
||||
%{_mandir}/man3/JSON::PP::Boolean.3*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:4.16-512
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.16-511
|
||||
- Perl 5.40 re-rebuild of bootstrapped packages
|
||||
|
||||
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.16-510
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Thu Jul 11 2024 Michal Josef Špaček <mspacek@redhat.com> - 1:4.16-505
|
||||
- Package tests
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:4.16-504
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.16-503
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.16-502
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.16-501
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.16-500
|
||||
- Perl 5.38 re-rebuild of bootstrapped packages
|
||||
|
||||
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.16-499
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.16-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Dec 30 2022 Paul Howarth <paul@city-fan.org> - 1:4.16-1
|
||||
- Update to 4.16
|
||||
- Drop support for perls < 5.8 (GH#84)
|
||||
|
||||
* Tue Dec 27 2022 Paul Howarth <paul@city-fan.org> - 1:4.15-1
|
||||
- Update to 4.15
|
||||
- Fix core bool test to not ignore errors (GH#82)
|
||||
|
||||
* Mon Dec 26 2022 Paul Howarth <paul@city-fan.org> - 1:4.14-1
|
||||
- Update to 4.14
|
||||
- Break up 099_binary.t into 16 pieces that can be tested in parallel (GH#80)
|
||||
|
||||
* Mon Oct 10 2022 Paul Howarth <paul@city-fan.org> - 1:4.12-1
|
||||
- Update to 4.12
|
||||
- Call unimport overload first to silence warnings (GH#76)
|
||||
- Use SPDX-format license tag
|
||||
|
||||
* Sun Jul 31 2022 Paul Howarth <paul@city-fan.org> - 1:4.11-1
|
||||
- Update to 4.11
|
||||
- Restored core boolean support (GH#73, GH#74)
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jun 24 2022 Paul Howarth <paul@city-fan.org> - 1:4.10-1
|
||||
- Update to 4.10
|
||||
- Fix a regression of decode_error introduced at 4.08 (GH#75)
|
||||
- Convert all tests to use Test::More (GH#70)
|
||||
|
||||
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.09-3
|
||||
- Perl 5.36 re-rebuild of bootstrapped packages
|
||||
|
||||
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.09-2
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Sun May 22 2022 Paul Howarth <paul@city-fan.org> - 1:4.09-1
|
||||
- Update to 4.09
|
||||
- Reverted core boolean support for now (GH#72)
|
||||
- Fix incr_parse() hanging on certain inputs (GH#67)
|
||||
- Silence warnings about non-characters on older perls (GH#68)
|
||||
|
||||
* Mon Apr 11 2022 Paul Howarth <paul@city-fan.org> - 1:4.08-1
|
||||
- Update to 4.08
|
||||
- Remove unneeded utf8::upgrade and downgrade (GH#59)
|
||||
- Core boolean support (GH#62, GH#63)
|
||||
- EBCDIC support (GH#64)
|
||||
- Shorten a test name (GH#65)
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.07-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sat Dec 18 2021 Paul Howarth <paul@city-fan.org> - 1:4.07-1
|
||||
- Update to 4.07
|
||||
- Fix incr_parse($unicode_str) bug (GH#56)
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.06-479
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.06-478
|
||||
- Perl 5.34 re-rebuild of bootstrapped packages
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.06-477
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.06-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sun Jan 24 2021 Paul Howarth <paul@city-fan.org> - 1:4.06-1
|
||||
- Update to 4.06
|
||||
- Fix return values of boolean_values for compatibility
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.05-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jul 9 2020 Paul Howarth <paul@city-fan.org> - 1:4.05-1
|
||||
- Update to 4.05
|
||||
- No code changes
|
||||
- Modify tests for Perl 7
|
||||
|
||||
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.04-457
|
||||
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||
|
||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.04-456
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.04-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.04-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Sanity tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (JSON-PP-4.16.tar.gz) = af6d4f3cbfa176120e9809caa12553452518201320c1052f522c15b0cb3d16a450e4fd650c453408160c26aa900eb6a42acd9b6396d0dececfa47f3d3e194e01
|
12
tests/upstream-tests.fmf
Normal file
12
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,12 @@
|
||||
summary: Upstream tests
|
||||
contact: Michal Josef Spacek <mspacek@redhat.com>
|
||||
component: perl-JSON-PP
|
||||
require: perl-JSON-PP-tests
|
||||
test: /usr/libexec/perl-JSON-PP/test
|
||||
enabled: true
|
||||
tag:
|
||||
- rhel-buildroot
|
||||
adjust:
|
||||
- enabled: false
|
||||
when: distro < rhel-10 or distro < centos-stream-10
|
||||
continue: false
|
Loading…
Reference in New Issue
Block a user