Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
9cabab7682 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/Module-Signature-0.88.tar.gz
|
Module-Signature-0.88.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
4456c3dc901f89289456bbc98109c81cdad991de SOURCES/Module-Signature-0.88.tar.gz
|
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
Name: perl-Module-Signature
|
Name: perl-Module-Signature
|
||||||
Version: 0.88
|
Version: 0.88
|
||||||
Release: 1%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: CPAN signature management utilities and modules
|
Summary: CPAN signature management utilities and modules
|
||||||
License: CC0
|
License: CC0-1.0
|
||||||
URL: https://metacpan.org/release/Module-Signature
|
URL: https://metacpan.org/release/Module-Signature
|
||||||
Source0: https://cpan.metacpan.org/modules/by-module/Module/Module-Signature-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/modules/by-module/Module/Module-Signature-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -15,6 +15,7 @@ BuildRequires: findutils
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(Config)
|
||||||
BuildRequires: perl(inc::Module::Install) >= 0.92
|
BuildRequires: perl(inc::Module::Install) >= 0.92
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(Module::Install::Can)
|
BuildRequires: perl(Module::Install::Can)
|
||||||
@ -28,7 +29,6 @@ BuildRequires: sed
|
|||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: perl(constant)
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl(Digest::SHA)
|
BuildRequires: perl(Digest::SHA)
|
||||||
BuildRequires: perl(Digest::SHA1)
|
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::Manifest)
|
BuildRequires: perl(ExtUtils::Manifest)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
@ -43,11 +43,9 @@ BuildRequires: perl(Getopt::Long)
|
|||||||
BuildRequires: perl(IPC::Run)
|
BuildRequires: perl(IPC::Run)
|
||||||
BuildRequires: perl(Pod::Usage)
|
BuildRequires: perl(Pod::Usage)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
# Module runtime
|
# Dependencies
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
||||||
Requires: gnupg2
|
Requires: gnupg2
|
||||||
Requires: perl(Digest::SHA)
|
Requires: perl(Digest::SHA)
|
||||||
Requires: perl(Digest::SHA1)
|
|
||||||
Requires: perl(File::Temp)
|
Requires: perl(File::Temp)
|
||||||
Requires: perl(IO::Socket::INET)
|
Requires: perl(IO::Socket::INET)
|
||||||
Requires: perl(Text::Diff)
|
Requires: perl(Text::Diff)
|
||||||
@ -75,7 +73,7 @@ rm -r ./inc/*
|
|||||||
sed -i -e '/^inc\//d' MANIFEST
|
sed -i -e '/^inc\//d' MANIFEST
|
||||||
|
|
||||||
# Help generators to recognize Perl scripts
|
# Help generators to recognize Perl scripts
|
||||||
for F in t/*.t t/*.pl; do
|
for F in t/*.t; do
|
||||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||||
chmod +x "$F"
|
chmod +x "$F"
|
||||||
done
|
done
|
||||||
@ -89,30 +87,24 @@ make %{?_smp_mflags}
|
|||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} -c %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
# Install tests
|
||||||
# Install tests - copy tests to tmp
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||||
cp -a t %{buildroot}/%{_libexecdir}/%{name}
|
cp -a script %{buildroot}%{_libexecdir}/%{name}
|
||||||
# Use module and script installed on system
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/script/cpansign
|
||||||
perl -i -pe 's{"-I../../lib/", "../../script/cpansign", }{}' %{buildroot}%{_libexecdir}/%{name}/t/3-verify.t
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||||
cat > %{buildroot}/%{_libexecdir}/%{name}/test << 'EOF'
|
#!/bin/sh
|
||||||
#!/bin/bash
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||||
set -e
|
|
||||||
# Some tests write into temporary files/directories. The easiest solution
|
|
||||||
# is to copy the tests into a writable directory and execute them from there.
|
|
||||||
DIR=$(mktemp -d)
|
|
||||||
pushd "$DIR"
|
|
||||||
cp -a %{_libexecdir}/%{name}/* ./
|
|
||||||
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
||||||
popd
|
|
||||||
rm -rf "$DIR"
|
|
||||||
EOF
|
EOF
|
||||||
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export GNUPGHOME=%{gnupghome}
|
export GNUPGHOME=%{gnupghome}
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot} %{gnupghome}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS Changes README *.pub
|
%doc AUTHORS Changes README *.pub
|
||||||
%{_bindir}/cpansign
|
%{_bindir}/cpansign
|
||||||
@ -124,6 +116,41 @@ make test
|
|||||||
%{_libexecdir}/%{name}
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.88-12
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Wed Aug 07 2024 Michal Josef Špaček <mspacek@redhat.com> - 0.88-11
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.88-10
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Oct 13 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.88-7
|
||||||
|
- Drop redundant dependency of Digest::SHA1; implementation from Digest::SHA
|
||||||
|
is used instead
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.88-3
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
* Sat Dec 18 2021 Paul Howarth <paul@city-fan.org> - 0.88-1
|
* Sat Dec 18 2021 Paul Howarth <paul@city-fan.org> - 0.88-1
|
||||||
- Update to 0.88
|
- Update to 0.88
|
||||||
- Update PAUSE keys to 2022
|
- Update PAUSE keys to 2022
|
Loading…
Reference in New Issue
Block a user