Skip to content

Commit

Permalink
perl-Math-Int64: Update Version from 0.54 -> 0.57.
Browse files Browse the repository at this point in the history
  • Loading branch information
v-smalavathu committed Dec 26, 2024
1 parent ae7f8ab commit 30818f5
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"perl-Math-Int64-0.54.tar.gz": "dcfc51e698437ea6b9cefe0276215c56cdb6a7f85e3e24a2b6b4189f1960d351"
"Math-Int64-0.57.tar.gz": "12c60111c1cfceb257ac2ccc5b2e1721879efa09a1b0a73e8836afca107a7d75"
}
}
}
115 changes: 93 additions & 22 deletions SPECS-EXTENDED/perl-Math-Int64/perl-Math-Int64.spec
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
Name: perl-Math-Int64
Version: 0.54
Release: 14%{?dist}
Version: 0.57
Release: 4%{?dist}
Summary: Manipulate 64 bits integers in Perl
License: (GPL+ or Artistic) and Public Domain and BSD
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Math-Int64
Source0: https://cpan.metacpan.org/modules/by-module/Math/Math-Int64-%{version}.tar.gz#/perl-Math-Int64-%{version}.tar.gz
Source0: https://cpan.metacpan.org/modules/by-module/Math/Math-Int64-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(base)
BuildRequires: perl(blib)
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
Expand All @@ -36,43 +37,113 @@ BuildRequires: perl(warnings)
BuildRequires: perl(warnings::register)
BuildRequires: perl(XSLoader)
Requires: perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module adds support for 64 bit integers, signed and unsigned, to Perl.

%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 Math-Int64-%{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 OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}

%install
make pure_install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete

%{_fixperms} $RPM_BUILD_ROOT/*
%{make_install}
find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} %{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

%files
%if 0%{?_licensedir:1}
%license COPYING
%else
%doc COPYING
%endif
%doc Changes README.md examples
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Math*
%{_mandir}/man3/*
%{_mandir}/man3/Math::*

%files tests
%{_libexecdir}/%{name}

%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 0.54-14
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Mon Dec 16 2024 Sreenivasulu Malavathula <[email protected]> 0.57-4
- Initial Azure Linux import from Fedora 41 (license: MIT)
- License verified

* Fri Jul 19 2024 Fedora Release Engineering <[email protected]> - 0.57-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Mon Jun 10 2024 Jitka Plesnikova <[email protected]> - 0.57-2
- Perl 5.40 rebuild

* Thu Jan 25 2024 Jitka Plesnikova <[email protected]> - 0.57-1
- 0.57 bump (rhbz#2259452)
- Package tests

* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 0.54-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Thu Jul 20 2023 Fedora Release Engineering <[email protected]> - 0.54-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Tue Jul 11 2023 Jitka Plesnikova <[email protected]> - 0.54-24
- Perl 5.38 rebuild

* Fri Jan 20 2023 Fedora Release Engineering <[email protected]> - 0.54-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 0.54-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Mon May 30 2022 Jitka Plesnikova <[email protected]> - 0.54-21
- Perl 5.36 rebuild

* Fri Jan 21 2022 Fedora Release Engineering <[email protected]> - 0.54-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Jul 22 2021 Fedora Release Engineering <[email protected]> - 0.54-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Fri May 21 2021 Jitka Plesnikova <[email protected]> - 0.54-18
- Perl 5.34 rebuild

* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 0.54-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 0.54-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon Jun 22 2020 Jitka Plesnikova <[email protected]> - 0.54-15
- Perl 5.32 rebuild

* Tue Feb 18 2020 Jitka Plesnikova <[email protected]> - 0.54-14
- Modernize spec file

* Thu Jan 30 2020 Fedora Release Engineering <[email protected]> - 0.54-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18233,8 +18233,8 @@
"type": "other",
"other": {
"name": "perl-Math-Int64",
"version": "0.54",
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/Math/Math-Int64-0.54.tar.gz"
"version": "0.57",
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/Math/Math-Int64-0.57.tar.gz"
}
}
},
Expand Down

0 comments on commit 30818f5

Please sign in to comment.