- 0.54, license changed to MIT.
This commit is contained in:
parent
670f485fb1
commit
88f2570636
@ -1 +1 @@
|
||||
Module-Signature-0.53.tar.gz
|
||||
Module-Signature-0.54.tar.gz
|
||||
|
@ -1,17 +1,10 @@
|
||||
# Must use expand to ensure mktemp is run only once
|
||||
%{expand: %%define mytempdir %(mktemp -d %{_tmppath}/tmp.XXXXXX)}
|
||||
|
||||
# Yep, this is a noarch package, but this is to avoid debug*.list which
|
||||
# interfere with some of the signature tests.
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: perl-Module-Signature
|
||||
Version: 0.53
|
||||
Version: 0.54
|
||||
Release: 1%{?dist}
|
||||
Summary: CPAN signature management utilities and modules
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
License: MIT
|
||||
URL: http://search.cpan.org/dist/Module-Signature/
|
||||
Source0: http://www.cpan.org/authors/id/A/AU/AUTRIJUS/Module-Signature-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -31,12 +24,11 @@ checking and creating SIGNATURE files for Perl CPAN distributions.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Signature-%{version}
|
||||
%{__perl} -pi -e 's/ if want_openpgp\(\);/ if 0;/' Makefile.PL
|
||||
|
||||
|
||||
%build
|
||||
mkdir -m 700 %{mytempdir}/_gnupg ; export GNUPGHOME=%{mytempdir}/_gnupg
|
||||
PERL_AUTOINSTALL=--skipdeps \
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
|
||||
PERL_AUTOINSTALL=--skipdeps %{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -49,12 +41,11 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check
|
||||
export GNUPGHOME=%{mytempdir}/_gnupg
|
||||
make test %{!?_with_livetests:TEST_FILES=t/1-basic.t}
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT %{mytempdir}
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
@ -66,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT %{mytempdir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 12 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.54-1
|
||||
- 0.54, license changed to MIT.
|
||||
|
||||
* Wed Feb 1 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.53-1
|
||||
- 0.53.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user