Compare commits
1 Commits
c8s-stream
...
c10-beta
Author | SHA1 | Date | |
---|---|---|---|
6764559d16 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/App-cpanminus-1.7044.tar.gz
|
App-cpanminus-1.7047.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
3cd3997099036fce470b42b0c95d31f01e2543ff SOURCES/App-cpanminus-1.7044.tar.gz
|
|
32
App-cpanminus-1.7044-SHA1-SHA256-in-checksum-chat.patch
Normal file
32
App-cpanminus-1.7044-SHA1-SHA256-in-checksum-chat.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 215c69b180f8de546c5965c37950d67c6cd8dc33 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stig Palmquist <stig@stig.io>
|
||||||
|
Date: Tue, 9 Mar 2021 09:29:43 +0100
|
||||||
|
Subject: [PATCH] SHA1 -> SHA256 in checksum chat()
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Petr Pisar: Ported from 2c24e534bbd1b843233dda3d66650645883f70a2
|
||||||
|
commit in upstream devel branch.
|
||||||
|
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
lib/App/cpanminus/script.pm | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib/App/cpanminus/script.pm b/lib/App/cpanminus/script.pm
|
||||||
|
index 1b26b5d..af44442 100644
|
||||||
|
--- a/lib/App/cpanminus/script.pm
|
||||||
|
+++ b/lib/App/cpanminus/script.pm
|
||||||
|
@@ -1637,7 +1637,7 @@ sub verify_archive {
|
||||||
|
sub verify_checksum {
|
||||||
|
my($self, $file, $chk_file) = @_;
|
||||||
|
|
||||||
|
- $self->chat("Verifying the SHA1 for $file\n");
|
||||||
|
+ $self->chat("Verifying the SHA256 for $file\n");
|
||||||
|
|
||||||
|
open my $fh, "<$chk_file" or die "$chk_file: $!";
|
||||||
|
my $data = join '', <$fh>;
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
@ -1,20 +1,26 @@
|
|||||||
Name: perl-App-cpanminus
|
Name: perl-App-cpanminus
|
||||||
Version: 1.7044
|
Version: 1.7047
|
||||||
Release: 5%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Get, unpack, build and install CPAN modules
|
Summary: Get, unpack, build and install CPAN modules
|
||||||
License: GPL+ or Artistic
|
# Other files: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
## unbundled
|
||||||
|
# lib/App/cpanminus/fatscript.pm: File::pushd: ASL 2.0
|
||||||
|
## at build-time only
|
||||||
|
# fatunpack: GPL+
|
||||||
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
URL: https://metacpan.org/release/App-cpanminus
|
URL: https://metacpan.org/release/App-cpanminus
|
||||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-%{version}.tar.gz
|
||||||
Source1: fatunpack
|
Source1: fatunpack
|
||||||
|
# Correct an SHA version in a message, in upstream's devel branch,
|
||||||
|
# <https://github.com/miyagawa/cpanminus/pull/617>
|
||||||
|
Patch0: App-cpanminus-1.7044-SHA1-SHA256-in-checksum-chat.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: %{_bindir}/podselect
|
BuildRequires: %{_bindir}/podselect
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(File::Path)
|
BuildRequires: perl(File::Path)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(Getopt::Long)
|
BuildRequires: perl(Getopt::Long)
|
||||||
@ -67,7 +73,6 @@ Requires: perl-core
|
|||||||
%else
|
%else
|
||||||
Requires: perl
|
Requires: perl
|
||||||
%endif
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
||||||
# Current dependency generator cannot parse compressed code. Use PPI to find
|
# Current dependency generator cannot parse compressed code. Use PPI to find
|
||||||
# them, and list them manually:
|
# them, and list them manually:
|
||||||
# Archive::Tar is optional
|
# Archive::Tar is optional
|
||||||
@ -75,7 +80,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|||||||
# Compress::Zlib is optional
|
# Compress::Zlib is optional
|
||||||
Requires: perl(CPAN::DistnameInfo)
|
Requires: perl(CPAN::DistnameInfo)
|
||||||
Requires: perl(CPAN::Meta)
|
Requires: perl(CPAN::Meta)
|
||||||
Requires: perl(CPAN::Meta::Check)
|
Requires: perl(CPAN::Meta::Check) >= 0.018
|
||||||
Requires: perl(CPAN::Meta::YAML)
|
Requires: perl(CPAN::Meta::YAML)
|
||||||
Requires: perl(Digest::SHA)
|
Requires: perl(Digest::SHA)
|
||||||
Requires: perl(ExtUtils::Install) >= 1.46
|
Requires: perl(ExtUtils::Install) >= 1.46
|
||||||
@ -113,6 +118,15 @@ Why? It's dependency free, requires zero configuration, and stands alone
|
|||||||
but it's maintainable and extensible with plug-ins and friendly to shell
|
but it's maintainable and extensible with plug-ins and friendly to shell
|
||||||
scripting. When running, it requires only 10 MB of RAM.
|
scripting. When running, it requires only 10 MB of RAM.
|
||||||
|
|
||||||
|
%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
|
%prep
|
||||||
%setup -q -n App-cpanminus-%{version}
|
%setup -q -n App-cpanminus-%{version}
|
||||||
# Unbundle fat-packed modules
|
# Unbundle fat-packed modules
|
||||||
@ -124,14 +138,29 @@ for F in bin/cpanm lib/App/cpanminus/fatscript.pm; do
|
|||||||
mv "${F}.stripped" "$F"
|
mv "${F}.stripped" "$F"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
%patch -P0 -p1
|
||||||
|
|
||||||
|
# Help generators to recognize Perl scripts
|
||||||
|
for F in t/*.t; do
|
||||||
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F"
|
||||||
|
chmod +x "$F"
|
||||||
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
%{make_install}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
# Install tests
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||||
|
#!/bin/bash
|
||||||
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
EOF
|
||||||
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -139,14 +168,78 @@ make test
|
|||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/App*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man1/cpanm*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man3/App::cpanminus*
|
||||||
%{_bindir}/cpanm
|
%{_bindir}/cpanm
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.7044-5
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.7047-4
|
||||||
- Rebuild with enable hardening (bug #1636329)
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7047-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7047-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Aug 01 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.7047-1
|
||||||
|
- 1.7047 bump (rhbz#2227489)
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7046-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7046-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7046-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.7046-2
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Wed Apr 27 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.7046-1
|
||||||
|
- 1.7046 bump
|
||||||
|
|
||||||
|
* Thu Jan 27 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.7045-1
|
||||||
|
- 1.7045 bump
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.7044-13
|
||||||
|
- Perl 5.34 rebuild
|
||||||
|
|
||||||
|
* Tue Mar 09 2021 Petr Pisar <ppisar@redhat.com> - 1.7044-12
|
||||||
|
- Correct an SHA version in a message
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.7044-9
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.7044-6
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jul 16 2018 Petr Pisar <ppisar@redhat.com> - 1.7044-4
|
* Mon Jul 16 2018 Petr Pisar <ppisar@redhat.com> - 1.7044-4
|
||||||
- Require full Perl for non-duallived sub-packaged core modules
|
- Require full Perl for non-duallived sub-packaged core modules
|
Loading…
Reference in New Issue
Block a user