Skip to content

Commit 1c3a77d

Browse files
Kanishk-BansalKanishk Bansal
andauthored
fix: ptest and installation issues for perl-CPAN-Changes (#13760)
Signed-off-by: Kanishk Bansal <kanbansal@microsoft.com> Co-authored-by: Kanishk Bansal <kanbansal@microsoft.com>
1 parent 04b76ee commit 1c3a77d

12 files changed

Lines changed: 437 additions & 9 deletions

File tree

LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES-AND-NOTICES/SPECS/data/licenses.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,6 +1543,7 @@
15431543
"perl-Tie-IxHash",
15441544
"perl-TimeDate",
15451545
"perl-Tree-DAG_Node",
1546+
"perl-Type-Tiny",
15461547
"perl-Unicode-EastAsianWidth",
15471548
"perl-Unicode-LineBreak",
15481549
"perl-Unicode-Map8",

SPECS/perl-CPAN-Changes/perl-CPAN-Changes.spec

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Read and write Changes files
22
Name: perl-CPAN-Changes
33
Version: 0.500002
4-
Release: 1%{?dist}
4+
Release: 2%{?dist}
55
License: GPL+ OR Artistic
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -18,6 +18,8 @@ BuildRequires: perl-interpreter
1818

1919
# Module Runtime
2020
BuildRequires: perl(Encode)
21+
BuildRequires: perl(Module::Runtime)
22+
2123
BuildRequires: perl(ExtUtils::MakeMaker)
2224

2325
# Script Runtime
@@ -29,24 +31,29 @@ BuildRequires: perl(Text::Wrap)
2931
BuildRequires: perl(strict)
3032
BuildRequires: perl(version) >= 0.99.06
3133
BuildRequires: perl(warnings)
34+
BuildRequires: perl(Moo) >= 1.006000
35+
BuildRequires: perl(Sub::Quote) >= 1.005000
36+
BuildRequires: perl(Types::Standard)
3237

3338
%if 0%{?with_check}
3439
# Test Suite
3540
BuildRequires: perl(Test::More) >= 0.96
36-
41+
BuildRequires: perl(constant)
42+
BuildRequires: perl(Data::Dumper)
43+
BuildRequires: perl(File::Spec)
3744
# Extra Tests
3845
BuildRequires: perl(Test::Pod) >= 1.00
3946
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
40-
41-
# Optional Tests, currently not supported in Mariner.
42-
%if 0
43-
BuildRequires: perl(Moo)
44-
%endif
4547
%endif
4648

4749
# Runtime
4850
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4951
Requires: perl(version) >= 0.99.06
52+
Requires: perl(Module::Runtime)
53+
Requires: perl(Moo) >= 1.006000
54+
Requires: perl(Sub::Quote) >= 1.005000
55+
Requires: perl(Types::Standard)
56+
Requires: perl(Role::Tiny)
5057

5158
%description
5259
It is standard practice to include a Changes file in your distribution. The
@@ -77,6 +84,7 @@ make test
7784
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
7885

7986
%files
87+
%license LICENSE
8088
%doc Changes README
8189
%{_bindir}/tidy_changelog
8290
%{perl_vendorlib}/CPAN/
@@ -87,6 +95,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
8795
%{_mandir}/man3/Test::CPAN::Changes.3*
8896

8997
%changelog
98+
* Mon May 12 2025 Kanishk Bansal <kanbansal@microsoft.com> - 0.500002-2
99+
- Fix ptest and installation issue
100+
90101
* Mon Dec 18 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 0.500002-1
91102
- Auto-upgrade to 0.500002 - Azure Linux 3.0 - package upgrades
92103

SPECS-EXTENDED/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.signatures.json renamed to SPECS/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.signatures.json

File renamed without changes.

SPECS-EXTENDED/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.spec renamed to SPECS/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.spec

File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: perl-Moo
22
Version: 2.003006
3-
Release: 3%{?dist}
3+
Release: 4%{?dist}
44
Summary: Minimalist Object Orientation (with Moose compatibility)
55
License: GPL+ or Artistic
66
Vendor: Microsoft Corporation
@@ -98,6 +98,10 @@ not quite- two thirds of Moose.
9898
%{_mandir}/man3/*
9999

100100
%changelog
101+
* Mon May 12 2025 Kanishk Bansal <kanbansal@microsoft.com> - 2.003006-4
102+
- Promote package to Core repository.
103+
- License verified
104+
101105
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.003006-3
102106
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
103107

SPECS-EXTENDED/perl-Role-Tiny/perl-Role-Tiny.signatures.json renamed to SPECS/perl-Role-Tiny/perl-Role-Tiny.signatures.json

File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"Signatures": {
3+
"perl-Type-Tiny-2.008002.tar.gz": "3d12f4c4952e1184b10a45ce45bba8226aad2ec584032dcde6adf5074be6b46e"
4+
}
5+
}
6+

0 commit comments

Comments
 (0)