Skip to content

Commit

Permalink
Updating CBL-Mariner import Fedora 41 (Version 1.44.3 -> 1.99.3).
Browse files Browse the repository at this point in the history
- Added "License verified" statement to the changelog.
  • Loading branch information
v-smalavathu committed Dec 18, 2024
1 parent 38f93ab commit ba4dac4
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 41 deletions.
4 changes: 2 additions & 2 deletions SPECS-EXTENDED/perl-Test-File/perl-Test-File.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"perl-Test-File-1.443.tar.gz": "61b4a6ab8f617c8c7b5975164cf619468dc304b6baaaea3527829286fa58bcd5"
"Test-File-1.993.tar.gz": "ef2ffe1aaec7b42d874ad411ec647547b9b9bc2f5fb93e49e3399488456afc7a"
}
}
}
79 changes: 42 additions & 37 deletions SPECS-EXTENDED/perl-Test-File/perl-Test-File.spec
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
# This module usually ships with version numbers having two digits after the decimal point
%global cpanversion 1.443

Summary: Test file attributes through Test::Builder
Name: perl-Test-File
Version: 1.44.3
Release: 12%{?dist}
License: Artistic-2.0
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: https://metacpan.org/release/Test-File
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-%{cpanversion}.tar.gz#/perl-Test-File-%{cpanversion}.tar.gz
BuildArch: noarch
# This module usually ships with version numbers having two digits after the decimal point
%global cpan_version 1.993
%global rpm_version 1.99.3

Summary: Test file attributes through Test::Builder
Name: perl-Test-File
Version: %{rpm_version}
Release: 8%{?dist}
License: Artistic-2.0
URL: https://metacpan.org/release/Test-File
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-%{cpan_version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(ExtUtils::Manifest) >= 1.21
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(ExtUtils::Manifest) >= 1.21
# Module Runtime
BuildRequires: perl(base)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Test Suite
BuildRequires: perl(Cwd)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Test::Builder) >= 1.001006
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More) >= 0.95
BuildRequires: perl(Test::utf8)
BuildRequires: perl(utf8)
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Test::Builder) >= 1.001006
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More) >= 1
BuildRequires: perl(utf8)
# Optional Tests
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))

%description
This module provides a collection of test utilities for file attributes.
Expand All @@ -47,14 +48,14 @@ Some file attributes depend on the owner of the process testing the file
in the same way the file test operators do.

%prep
%setup -q -n Test-File-%{cpanversion}
%setup -q -n Test-File-%{cpan_version}

%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%{make_build}

%install
make install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} -c %{buildroot}

%check
Expand All @@ -67,6 +68,10 @@ make test
%{_mandir}/man3/Test::File.3*

%changelog
* Wed Dec 18 2024 Sreenivasulu Malavathula <v-smalavathu@microsoft.com> 1.99.3-8
- Initial CBL-Mariner import from Fedora 41 (license: Artistic-2.0).
- License verified.

* Thu Mar 28 2024 Andrew Phelps <anphel@microsoft.com> - 1.44.3-12
- Remove `rpmversion` global definition due to macro conflict with rpm-4.18.2
- Update license to Artistic-2.0
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19853,8 +19853,8 @@
"type": "other",
"other": {
"name": "perl-Test-File",
"version": "1.44.3",
"downloadUrl": "https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-1.443.tar.gz"
"version": "1.99.3",
"downloadUrl": "https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-1.993.tar.gz"
}
}
},
Expand Down

0 comments on commit ba4dac4

Please sign in to comment.