Skip to content

Commit e803fe7

Browse files
Upgrade: perl-JSON-MaybeXS version to 1.004008 (#13678)
1 parent e73c02e commit e803fe7

3 files changed

Lines changed: 95 additions & 51 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"JSON-MaybeXS-1.004003.tar.gz": "5bee3b17ff9dcffd6e99ab8cf7f35747650bfce1dc622e3ad10b85a194462fbf"
3+
"JSON-MaybeXS-1.004008.tar.gz": "cd3937afa78831f80a2ad5abab6c51b9e82fca4c31e5856ea208d598db5dc867"
44
}
5-
}
5+
}

SPECS-EXTENDED/perl-JSON-MaybeXS/perl-JSON-MaybeXS.spec

Lines changed: 91 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5,53 +5,52 @@
55
# involve modifications to the back-end packages, but it also makes for
66
# consistent results as we're always using the same, most-tested
77
# back-end.
8-
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
9-
Name: perl-JSON-MaybeXS
10-
Version: 1.004003
11-
Release: 5%{?dist}
12-
License: GPL+ OR Artistic
8+
139
Vendor: Microsoft Corporation
1410
Distribution: Azure Linux
15-
URL: https://metacpan.org/release/JSON-MaybeXS
16-
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-%{version}.tar.gz
17-
18-
BuildArch: noarch
19-
11+
Name: perl-JSON-MaybeXS
12+
Summary: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
13+
Version: 1.004008
14+
Release: 3%{?dist}
15+
License: GPL-1.0-or-later OR Artistic-1.0-Perl
16+
URL: https://metacpan.org/release/JSON-MaybeXS
17+
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-%{version}.tar.gz
18+
BuildArch: noarch
2019
# Module Build
21-
BuildRequires: coreutils
22-
BuildRequires: make
23-
BuildRequires: perl-generators
24-
BuildRequires: perl-interpreter
25-
BuildRequires: perl(Carp)
20+
BuildRequires: coreutils
21+
BuildRequires: make
22+
BuildRequires: perl-generators
23+
BuildRequires: perl-interpreter
24+
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
25+
BuildRequires: perl(lib)
26+
BuildRequires: perl(Text::ParseWords)
2627
# Dependencies of bundled ExtUtils::HasCompiler
27-
BuildRequires: perl(Config)
28-
BuildRequires: perl(Cpanel::JSON::XS) >= 2.3310
29-
BuildRequires: perl(DynaLoader)
30-
BuildRequires: perl(Exporter)
31-
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
32-
BuildRequires: perl(ExtUtils::Mksymlists)
33-
BuildRequires: perl(File::Basename)
34-
BuildRequires: perl(File::Spec::Functions)
35-
BuildRequires: perl(File::Temp)
36-
BuildRequires: perl(Scalar::Util)
37-
BuildRequires: perl(Text::ParseWords)
28+
BuildRequires: perl(Config)
29+
BuildRequires: perl(DynaLoader)
30+
BuildRequires: perl(ExtUtils::Mksymlists)
31+
BuildRequires: perl(File::Basename)
32+
BuildRequires: perl(File::Spec::Functions)
33+
BuildRequires: perl(File::Temp)
3834
# Module Runtime
39-
BuildRequires: perl(base)
40-
BuildRequires: perl(lib)
41-
BuildRequires: perl(strict)
42-
BuildRequires: perl(warnings)
43-
44-
%if 0%{?with_check}
45-
BuildRequires: perl(JSON::PP) >= 2.27300
46-
BuildRequires: perl(JSON::XS) >= 3.0
47-
BuildRequires: perl(Test::More) >= 0.88
48-
BuildRequires: perl(Test::Needs) >= 0.002006
49-
BuildRequires: perl(if)
50-
%endif
51-
52-
# Runtime
53-
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
54-
Requires: perl(Cpanel::JSON::XS) >= 2.3310
35+
BuildRequires: perl(base)
36+
BuildRequires: perl(Carp)
37+
BuildRequires: perl(constant)
38+
39+
BuildRequires: perl(Cpanel::JSON::XS) >= 2.3310
40+
41+
BuildRequires: perl(Exporter)
42+
BuildRequires: perl(if)
43+
BuildRequires: perl(Scalar::Util)
44+
BuildRequires: perl(strict)
45+
BuildRequires: perl(warnings)
46+
# Test Suite
47+
BuildRequires: perl(JSON::PP) >= 2.27300
48+
BuildRequires: perl(JSON::XS) >= 3.0
49+
BuildRequires: perl(Test::More) >= 0.88
50+
BuildRequires: perl(Test::Needs) >= 0.002006
51+
# Dependencies
52+
53+
Requires: perl(Cpanel::JSON::XS) >= 2.3310
5554

5655
%description
5756
This module first checks to see if either Cpanel::JSON::XS or JSON::XS
@@ -72,10 +71,10 @@ mutators, so we provide our own "new" method that supports that.
7271

7372
%build
7473
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
75-
%make_build
74+
%{make_build}
7675

7776
%install
78-
%make_install
77+
%{make_install}
7978
%{_fixperms} -c %{buildroot}
8079

8180
%check
@@ -88,9 +87,54 @@ make test
8887
%{_mandir}/man3/JSON::MaybeXS.3*
8988

9089
%changelog
91-
* Wed Jan 26 2022 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.004003-5
92-
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
93-
- License verified.
90+
* Tue May 06 2025 Durga Jagadeesh Palli <v-dpalli@microsoft.com> - 1.004008-3
91+
- Initial Azure Linux import from Fedora 41 (license: MIT)
92+
- License verified
93+
94+
* Tue Aug 13 2024 Paul Howarth <paul@city-fan.org> - 1.004008-2
95+
- Fix runtime dependency on Cpanel::JSON::XS 4.38 (rhbz#2304277)
96+
97+
* Sun Aug 11 2024 Paul Howarth <paul@city-fan.org> - 1.004008-1
98+
- Update to 1.004008
99+
- Improved boolean testing
100+
101+
* Sun Aug 4 2024 Paul Howarth <paul@city-fan.org> - 1.004007-1
102+
- Update to 1.004007
103+
- is_bool() now recognizes core booleans (perl 5.36+); note that JSON::PP
104+
4.11 and Cpanel::JSON::XS 4.38 are required to properly encode them
105+
106+
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.004005-5
107+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
108+
109+
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.004005-4
110+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
111+
112+
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.004005-3
113+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
114+
115+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.004005-2
116+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
117+
118+
* Sun Apr 30 2023 Paul Howarth <paul@city-fan.org> - 1.004005-1
119+
- Update to 1.004005
120+
- to_json and from_json are now documented (GH#2)
121+
122+
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.004004-2
123+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
124+
125+
* Tue Sep 20 2022 Paul Howarth <paul@city-fan.org> - 1.004004-1
126+
- Update to 1.004004
127+
- Slight speed optimization for is_bool()
128+
- Use SPDX-format license tag
129+
130+
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.004003-7
131+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
132+
133+
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.004003-6
134+
- Perl 5.36 rebuild
135+
136+
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.004003-5
137+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
94138

95139
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.004003-4
96140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18253,8 +18253,8 @@
1825318253
"type": "other",
1825418254
"other": {
1825518255
"name": "perl-JSON-MaybeXS",
18256-
"version": "1.004003",
18257-
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-1.004003.tar.gz"
18256+
"version": "1.004008",
18257+
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/JSON/JSON-MaybeXS-1.004008.tar.gz"
1825818258
}
1825918259
}
1826018260
},

0 commit comments

Comments
 (0)