pghmcfc pushed to perl-Module-Signature (master). "Update to 0.75 (..more)"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From effd200704da4116932b12c1d4d4953ff9dab989 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul@xxxxxxxxxxxx>
Date: Wed, 8 Apr 2015 09:07:15 +0100
Subject: Update to 0.75

- New upstream release 0.75
  - Fix GPG signature parsing logic
  - MANIFEST.SKIP is no longer consulted unless --skip is given
  - Properly use open() modes to avoid injection attacks
  - More protection of @INC from relative paths
- Don't try to run the signature test, which needs the network

diff --git a/perl-Module-Signature.spec b/perl-Module-Signature.spec
index 492e71d..41b952a 100644
--- a/perl-Module-Signature.spec
+++ b/perl-Module-Signature.spec
@@ -1,6 +1,6 @@
 Name:           perl-Module-Signature
-Version:        0.73
-Release:        5%{?dist}
+Version:        0.75
+Release:        1%{?dist}
 Summary:        CPAN signature management utilities and modules
 Group:          Development/Libraries
 License:        CC0
@@ -10,6 +10,7 @@ Source1:        AKOENIG.pub
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
 # Module build
+BuildRequires:  perl
 BuildRequires:  perl(base)
 BuildRequires:  perl(Cwd)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -21,6 +22,7 @@ BuildRequires:  perl(Digest::SHA1)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::Manifest)
 BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(IO::Socket::INET)
 BuildRequires:  perl(Text::Diff)
 # Test suite
@@ -36,6 +38,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       gnupg
 Requires:       perl(Digest::SHA)
 Requires:       perl(Digest::SHA1)
+Requires:       perl(File::Temp)
 Requires:       perl(IO::Socket::INET)
 Requires:       perl(PAR::Dist)
 Requires:       perl(Text::Diff)
@@ -45,10 +48,7 @@ This package contains a command line tool and module for checking and creating
 SIGNATURE files for Perl CPAN distributions.
 
 %prep
-%setup -q -c -n Module-Signature
-
-# Copy up documentation for convenience with %%doc
-cp -a Module-Signature-%{version}/{AUTHORS,Changes,README,*.pub} .
+%setup -q -n Module-Signature-%{version}
 
 # Create a GPG directory for testing, to avoid using ~/.gnupg
 mkdir --mode=0700 gnupghome
@@ -59,20 +59,18 @@ gpg --import %{SOURCE1}
 
 %build
 export GNUPGHOME=$(pwd)/gnupghome
-cd Module-Signature-%{version}
 perl Makefile.PL INSTALLDIRS=vendor --skipdeps </dev/null
 make %{?_smp_mflags}
-cd -
 
 %install
 rm -rf %{buildroot}
-make -C Module-Signature-%{version} pure_install DESTDIR=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
 export GNUPGHOME=$(pwd)/gnupghome
-make -C Module-Signature-%{version} test TEST_SIGNATURE=1
+make test
 
 %clean
 rm -rf %{buildroot}
@@ -82,9 +80,17 @@ rm -rf %{buildroot}
 %{_bindir}/cpansign
 %{perl_vendorlib}/Module/
 %{_mandir}/man1/cpansign.1*
-%{_mandir}/man3/Module::Signature.3pm*
+%{_mandir}/man3/Module::Signature.3*
 
 %changelog
+* Tue Apr  7 2015 Paul Howarth <paul@xxxxxxxxxxxx> - 0.75-1
+- Update to 0.75
+  - Fix GPG signature parsing logic
+  - MANIFEST.SKIP is no longer consulted unless --skip is given
+  - Properly use open() modes to avoid injection attacks
+  - More protection of @INC from relative paths
+- Don't try to run the signature test, which needs the network
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.73-5
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 4ff8323..bcbdaa3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-de27bbca948ba8a13a7f614414cb623d  Module-Signature-0.73.tar.gz
+2936acfbe0038637c69f066ba8cd457f  Module-Signature-0.75.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Module-Signature.git/commit/?h=master&id=effd200704da4116932b12c1d4d4953ff9dab989
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux