- 0.52.
- Run non-live tests during build and make live ones optional, enabled when building with "--with livetests".
This commit is contained in:
parent
4b61fcb9b0
commit
98e24ec23f
@ -1 +1 @@
|
||||
Module-Signature-0.51.tar.gz
|
||||
Module-Signature-0.52.tar.gz
|
||||
|
@ -1,8 +1,12 @@
|
||||
# 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.51
|
||||
Version: 0.52
|
||||
Release: 1%{?dist}
|
||||
Summary: CPAN signature management utilities and modules
|
||||
|
||||
@ -31,6 +35,7 @@ checking and creating SIGNATURE files for Perl CPAN distributions.
|
||||
|
||||
%build
|
||||
mkdir -m 700 %{mytempdir}/_gnupg ; export GNUPGHOME=%{mytempdir}/_gnupg
|
||||
PERL_AUTOINSTALL=--skipdeps \
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -45,9 +50,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
export GNUPGHOME=%{mytempdir}/_gnupg
|
||||
for f in debug*.list ; do test -e $f && mv $f %{mytempdir} ; done
|
||||
# make test # would require network access
|
||||
for f in %{mytempdir}/debug*.list ; do test -e $f && mv $f . ; done
|
||||
make test %{!?_with_livetests:TEST_FILES=t/1-basic.t}
|
||||
|
||||
|
||||
%clean
|
||||
@ -56,13 +59,18 @@ rm -rf $RPM_BUILD_ROOT %{mytempdir}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS Changes README TODO *.pub
|
||||
%doc AUTHORS Changes README *.pub
|
||||
%{_bindir}/cpansign
|
||||
%{perl_vendorlib}/Module/
|
||||
%{_mandir}/man[13]/*.[13]*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.52-1
|
||||
- 0.52.
|
||||
- Run non-live tests during build and make live ones optional, enabled
|
||||
when building with "--with livetests".
|
||||
|
||||
* Mon Jan 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.51-1
|
||||
- 0.51.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user