devel/perl-PAR-Dist perl-PAR-Dist.spec,1.5,1.6

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Mar 17 19:03:41 UTC 2005


Author: scop

Update of /cvs/extras/devel/perl-PAR-Dist
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22389

Modified Files:
	perl-PAR-Dist.spec 
Log Message:
Don't run signature test during build, sync with Perl spec template.

If Module::Signature is installed, running the signature test would
import stuff from pgp.mit.edu to the build user's GPG keyring.



Index: perl-PAR-Dist.spec
===================================================================
RCS file: /cvs/extras/devel/perl-PAR-Dist/perl-PAR-Dist.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-PAR-Dist.spec	3 Mar 2005 23:46:27 -0000	1.5
+++ perl-PAR-Dist.spec	17 Mar 2005 19:03:39 -0000	1.6
@@ -2,7 +2,7 @@
 
 Name:           perl-PAR-Dist
 Version:        0.07
-Release:        2
+Release:        3
 Summary:        Toolkit for creating and manipulating Perl PAR distributions
 
 Group:          Development/Libraries
@@ -12,7 +12,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl
+BuildRequires:  perl >= 1:5.6.1
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -24,24 +24,21 @@
 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install \
-  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
-  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
 %check || :
-rm -f debugfiles.list debugsources.list
-make test
+make test TEST_FILES=t/1*.t # avoid signature check
 
 
 %clean
@@ -56,6 +53,10 @@
 
 
 %changelog
+* Thu Mar 17 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.07-3
+- Avoid running signature test during build.
+- Sync with fedora-rpmdevtools' Perl spec template.
+
 * Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.07-0.fdr.2
 - Require perl(:MODULE_COMPAT_*).
 




More information about the fedora-extras-commits mailing list