Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-Module-Signature/EL-4
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20407/EL-4
Modified Files:
.cvsignore perl-Module-Signature.spec sources
Log Message:
* Wed May 5 2010 Paul Howarth <[email protected]> - 0.63-1
- Update to 0.63
- Fix Makefile.PL diagnostic message when gnupg and Crypt::OpenPGP missing
- Default keyserver changed from pgp.mit.edu to pool.sks-keyservers.net
- Added "=encoding utf8" to POD to fix author name display
- License changed to nullary CC0 1.0 Universal terms
- Run signature test in %check
- BR/R: perl(Digest::SHA) (EL-5 only)
- License changed to CC0
- This release by FLORA -> update source URL
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Module-Signature/EL-4/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore 2 Mar 2008 17:42:42 -0000 1.3
+++ .cvsignore 5 May 2010 13:53:43 -0000 1.4
@@ -1 +1 @@
-Module-Signature-0.55.tar.gz
+Module-Signature-0.63.tar.gz
Index: perl-Module-Signature.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Module-Signature/EL-4/perl-Module-Signature.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- perl-Module-Signature.spec 2 Mar 2008 17:42:42 -0000 1.3
+++ perl-Module-Signature.spec 5 May 2010 13:53:44 -0000 1.4
@@ -1,14 +1,12 @@
Name: perl-Module-Signature
-Version: 0.55
-Release: 2%{?dist}
+Version: 0.63
+Release: 1%{?dist}
Summary: CPAN signature management utilities and modules
-
Group: Development/Libraries
-License: MIT
+License: CC0
URL: http://search.cpan.org/dist/Module-Signature/
-Source0:
http://www.cpan.org/authors/id/A/AU/AUDREYT/Module-Signature-%{version}.tar.gz
+Source0:
http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Module-Signature-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
BuildRequires: gnupg
BuildRequires: perl(Digest::SHA1)
@@ -16,51 +14,66 @@ BuildRequires: perl(ExtUtils::MakeMaker
BuildRequires: perl(Test::More)
Requires: gnupg
Requires: perl(Digest::SHA1)
-# not sure EL-4 rpm understand that, using a plain Requires.
-#Requires(hint): perl(PAR::Dist)
-Requires: perl(PAR::Dist)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires(hint): perl(PAR::Dist)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
This package contains command line tools and utilities a module for
checking and creating SIGNATURE files for Perl CPAN distributions.
-
%prep
-%setup -q -n Module-Signature-%{version}
+%setup -q -c -n Module-Signature
+# Copy up documentation for convenience with %%doc
+cp -a Module-Signature-%{version}/{AUTHORS,Changes,README,*.pub} .
+
+# Create a GPG directory for testing, to avoid using ~/.gnupg
+mkdir --mode=0700 gnupghome
+export GNUPGHOME=$(pwd)/gnupghome
+gpg --import *.pub
%build
-PERL_AUTOINSTALL=--skipdeps \
-%{__perl} Makefile.PL INSTALLDIRS=vendor --installdeps
+export GNUPGHOME=$(pwd)/gnupghome
+cd Module-Signature-%{version}
+PERL_AUTOINSTALL=--skipdeps perl Makefile.PL INSTALLDIRS=vendor --installdeps
make %{?_smp_mflags}
-
+cd -
%install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -a -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+rm -rf %{buildroot}
+cd Module-Signature-%{version}
+make pure_install PERL_INSTALL_ROOT=%{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}
+cd -
%check
-make test
-
+export GNUPGHOME=$(pwd)/gnupghome
+make -C Module-Signature-%{version} test TEST_SIGNATURE=1
%clean
-rm -rf $RPM_BUILD_ROOT
-
+rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS Changes README *.pub
%{_bindir}/cpansign
%{perl_vendorlib}/Module/
-%{_mandir}/man[13]/*.[13]*
-
+%{_mandir}/man1/cpansign.1*
+%{_mandir}/man3/Module::Signature.3pm*
%changelog
+* Wed May 5 2010 Paul Howarth <[email protected]> - 0.63-1
+- Update to 0.63
+ - Fix Makefile.PL diagnostic message when gnupg and Crypt::OpenPGP missing
+ - Default keyserver changed from pgp.mit.edu to pool.sks-keyservers.net
+ - Added "=encoding utf8" to POD to fix author name display
+ - License changed to nullary CC0 1.0 Universal terms
+- Run signature test in %%check
+- License changed to CC0
+- This release by FLORA -> update source URL
+
* Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.55-2
- BuildRequire perl(ExtUtils::MakeMaker) and perl(Test::More).
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Module-Signature/EL-4/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources 2 Mar 2008 17:42:42 -0000 1.3
+++ sources 5 May 2010 13:53:44 -0000 1.4
@@ -1 +1 @@
-0e2571a76c4bf37d61d9f24d71afbd77 Module-Signature-0.55.tar.gz
+49a961502c0786797dabfea9c7fd30c3 Module-Signature-0.63.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel