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 Name: perl-Module-Signature
Version: 0.83 Version: 0.86
Release: 7%{?dist} Release: 1%{?dist}
Summary: CPAN signature management utilities and modules Summary: CPAN signature management utilities and modules
License: CC0 License: CC0
URL: https://metacpan.org/release/Module-Signature URL: https://metacpan.org/release/Module-Signature
@ -57,15 +60,13 @@ SIGNATURE files for Perl CPAN distributions.
%prep %prep
%setup -q -n Module-Signature-%{version} %setup -q -n Module-Signature-%{version}
# Remove bundled modules # Remove bundled modules
rm -r ./inc/* rm -r ./inc/*
sed -i -e '/^inc\//d' MANIFEST sed -i -e '/^inc\//d' MANIFEST
# Create a GPG directory for testing, to avoid using ~/.gnupg
mkdir --mode=0700 gnupghome
%build %build
export GNUPGHOME=$(pwd)/gnupghome export GNUPGHOME=%{gnupghome}
perl Makefile.PL INSTALLDIRS=vendor --skipdeps </dev/null perl Makefile.PL INSTALLDIRS=vendor --skipdeps </dev/null
make %{?_smp_mflags} make %{?_smp_mflags}
@ -75,9 +76,12 @@ find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
export GNUPGHOME=$(pwd)/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
@ -86,6 +90,13 @@ make test
%{_mandir}/man3/Module::Signature.3* %{_mandir}/man3/Module::Signature.3*
%changelog %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 * Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.83-7
- Perl 5.32 rebuild - Perl 5.32 rebuild

View File

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