Update to 0.86

- New upstream release 0.86
  - Update PAUSE and ANDK keys to 2020
  - Update documentation pertaining to SHA1
  - Fix compatibility with Crypt::OpenPGP
- Use mktemp to create temporary GPG directory
This commit is contained in:
Paul Howarth 2020-06-25 19:40:17 +01:00
parent 307f62790a
commit bcb80ab95c
2 changed files with 19 additions and 8 deletions

View File

@ -1,6 +1,9 @@
# Store keys in a temp directory
%global gnupghome %(mktemp --directory)
Name: perl-Module-Signature
Version: 0.83
Release: 7%{?dist}
Version: 0.86
Release: 1%{?dist}
Summary: CPAN signature management utilities and modules
License: CC0
URL: https://metacpan.org/release/Module-Signature
@ -57,15 +60,13 @@ SIGNATURE files for Perl CPAN distributions.
%prep
%setup -q -n Module-Signature-%{version}
# Remove bundled modules
rm -r ./inc/*
sed -i -e '/^inc\//d' MANIFEST
# Create a GPG directory for testing, to avoid using ~/.gnupg
mkdir --mode=0700 gnupghome
%build
export GNUPGHOME=$(pwd)/gnupghome
export GNUPGHOME=%{gnupghome}
perl Makefile.PL INSTALLDIRS=vendor --skipdeps </dev/null
make %{?_smp_mflags}
@ -75,9 +76,12 @@ find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
export GNUPGHOME=$(pwd)/gnupghome
export GNUPGHOME=%{gnupghome}
make test
%clean
rm -rf %{buildroot} %{gnupghome}
%files
%doc AUTHORS Changes README *.pub
%{_bindir}/cpansign
@ -86,6 +90,13 @@ make test
%{_mandir}/man3/Module::Signature.3*
%changelog
* Thu Jun 25 2020 Paul Howarth <paul@city-fan.org> - 0.86-1
- Update to 0.86
- Update PAUSE and ANDK keys to 2020
- Update documentation pertaining to SHA1
- Fix compatibility with Crypt::OpenPGP
- Use mktemp to create temporary GPG directory
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.83-7
- Perl 5.32 rebuild

View File

@ -1 +1 @@
SHA512 (Module-Signature-0.83.tar.gz) = 6d53140a11779bc8549745204c49f1d7b2167f8f09282acc06c46b8c2cdc12779bb6797ae0535c364cb7458fff91fc9e378761cc1746dd0fcbeaadcff6caeb86
SHA512 (Module-Signature-0.86.tar.gz) = f7e809dcbd4b328c8d4f7888570f698c6a8b6aa02d2e49944bbcd643e52889cbae13525561cc6ae6629e34b2c72d6c46ded716c4943f576c398c7c31008e8742