[perl-Module-Signature/el6] Update to 0.73

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

 



commit 2596fe2fe500ae1f90de21c52c6374417f38d8b8
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Jun 7 20:29:04 2013 +0100

    Update to 0.73
    
    - New upstream release 0.73
      - Support for gpg under these alternate names: gpg gpg2 gnupg gnupg2
      - Don't check gpg version if gpg does not exist
      - Constrain the user-specified digest name to /^\w+\d+$/
      - Only allow loading Digest::* from absolute paths in @INC (CVE-2013-2145)
    - This release by AUDREYT -> update source URL
    - Include Andreas Koenig's GPG key in the SRPM and import it in %prep so
      that we don't need to get it from a keyserver in %check
    - Make building non-interactive
    - Specify all dependencies
    - Don't need to remove empty directories from the buildroot
    - Drop %defattr, redundant since rpm 4.4
    - Use %{_fixperms} macro rather than our own chmod incantation

 AKOENIG.pub                |  109 ++++++++++++++++++++++++++++++++++++++++++++
 perl-Module-Signature.spec |   58 +++++++++++++++++++----
 sources                    |    2 +-
 3 files changed, 157 insertions(+), 12 deletions(-)
---
diff --git a/AKOENIG.pub b/AKOENIG.pub
new file mode 100644
index 0000000..8d8e113
--- /dev/null
+++ b/AKOENIG.pub
@@ -0,0 +1,109 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+mQGiBDx+A1YRBADEsflgt39/oYoLumUOxOI2KKEte7SKfNc0SaI8Awpx8uxw4UR7
+dxJN56mwvMk3GeJw0vn7gEbVzcm5W0AsBdUrHrYFEfngxrkEN0fBzaByQ9U4nOj7
+EsoII9q8LllWphLfFYmewzrat/e0YDQA2WneiICUeIjBohX3+4yJjho5xwCg/zRU
+c/J+hJwuYyrNheC9+4gYGrkEALVWaB1CYqpaK5eUb911k+DjeOZQvqd+Mh7IiHDP
+RYPd23ct8NFQeav8HdEA+zJRVqWISh4tl64aNbHHR3RpnFJwwjgnfa5HRXZRVjQL
+UlQ/N5XV96TGywb58ZqYGouln7NZ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0KqhRysJFuvLm5AKCK
+M+pbqhGxYWdkwFo4e9FH7an45w==
+=ZcJk
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/perl-Module-Signature.spec b/perl-Module-Signature.spec
index 3436a3f..a2e5f23 100644
--- a/perl-Module-Signature.spec
+++ b/perl-Module-Signature.spec
@@ -1,29 +1,48 @@
 Name:           perl-Module-Signature
-Version:        0.68
+Version:        0.73
 Release:        1%{?dist}
 Summary:        CPAN signature management utilities and modules
 Group:          Development/Libraries
 License:        CC0
 URL:            http://search.cpan.org/dist/Module-Signature/
-Source0:        http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Module-Signature-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Module-Signature-%{version}.tar.gz
+Source1:        AKOENIG.pub
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
+# Module build
+BuildRequires:  perl(base)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Module runtime
 BuildRequires:  gnupg
+BuildRequires:  perl(constant)
 BuildRequires:  perl(Digest::SHA)
 BuildRequires:  perl(Digest::SHA1)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::Manifest)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(IO::Socket::INET)
+BuildRequires:  perl(Text::Diff)
+# Test suite
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(IPC::Run)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Pod::Usage)
 BuildRequires:  perl(Test::More)
+# Module runtime
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       gnupg
 Requires:       perl(Digest::SHA)
 Requires:       perl(Digest::SHA1)
-Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-# Would prefer this to be Suggests: really...
+Requires:       perl(IO::Socket::INET)
 Requires:       perl(PAR::Dist)
+Requires:       perl(Text::Diff)
 
 %description
-This package contains command line tools and utilities a module for
-checking and creating SIGNATURE files for Perl CPAN distributions.
+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
@@ -34,10 +53,14 @@ cp -a Module-Signature-%{version}/{AUTHORS,Changes,README,*.pub} .
 # Create a GPG directory for testing, to avoid using ~/.gnupg
 mkdir --mode=0700 gnupghome
 
+# Import AKOENIG key so we don't try to download it later
+export GNUPGHOME=$(pwd)/gnupghome
+gpg --import %{SOURCE1}
+
 %build
 export GNUPGHOME=$(pwd)/gnupghome
 cd Module-Signature-%{version}
-perl Makefile.PL INSTALLDIRS=vendor --skipdeps
+perl Makefile.PL INSTALLDIRS=vendor --skipdeps </dev/null
 make %{?_smp_mflags}
 cd -
 
@@ -45,8 +68,7 @@ cd -
 rm -rf %{buildroot}
 make -C Module-Signature-%{version} pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
-chmod -R u+w %{buildroot}
+%{_fixperms} %{buildroot}
 
 %check
 export GNUPGHOME=$(pwd)/gnupghome
@@ -56,7 +78,6 @@ make -C Module-Signature-%{version} test TEST_SIGNATURE=1
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS Changes README *.pub
 %{_bindir}/cpansign
 %{perl_vendorlib}/Module/
@@ -64,6 +85,21 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Module::Signature.3pm*
 
 %changelog
+* Fri Jun  7 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.73-1
+- Update to 0.73
+  - Support for gpg under these alternate names: gpg gpg2 gnupg gnupg2
+  - Don't check gpg version if gpg does not exist
+  - Constrain the user-specified digest name to /^\w+\d+$/
+  - Only allow loading Digest::* from absolute paths in @INC (CVE-2013-2145)
+- This release by AUDREYT -> update source URL
+- Include Andreas Koenig's GPG key in the SRPM and import it in %%prep so
+  that we don't need to get it from a keyserver in %%check
+- Make building non-interactive
+- Specify all dependencies
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+- Use %%{_fixperms} macro rather than our own chmod incantation
+
 * Fri May 13 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.68-1
 - Update to 0.68
   - Fix breakage introduced by 0.67 (CPAN RT#68150)
diff --git a/sources b/sources
index b5284bd..4ff8323 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c63c0b5c4e7162fc0c44512e1f832e5e  Module-Signature-0.68.tar.gz
+de27bbca948ba8a13a7f614414cb623d  Module-Signature-0.73.tar.gz
--
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