Author: kasal
Update of /cvs/extras/rpms/perl-PAR-Packer/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31530
Modified Files: perl-PAR-Packer.spec Log Message: - too hard to build without stripping (#524894)
Index: perl-PAR-Packer.spec =================================================================== RCS file: /cvs/extras/rpms/perl-PAR-Packer/devel/perl-PAR-Packer.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- perl-PAR-Packer.spec 21 Sep 2009 17:29:29 -0000 1.3 +++ perl-PAR-Packer.spec 23 Sep 2009 18:18:38 -0000 1.4 @@ -1,6 +1,6 @@ Name: perl-PAR-Packer Version: 0.991 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PAR Packager License: GPL+ or Artistic Group: Development/Libraries @@ -29,6 +29,11 @@ stand-alone executables, perl scripts an %patch1 -p1 -b.open
%build +# The build procedure for binaries parl and parldyn exploits PAR through +# a compiled binary named myldr/static and thus looks very obfuscated. +# There is no obvious way to teach the build system not to strip the installed +# binaries. Consequently, desable the -debuginfo subpackage: +%global debug_package %{nil} %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" # The Makefile is not parallel-safe. # PAR_GLOBAL_TEMP seems to be needed for the build. @@ -47,7 +52,7 @@ find $RPM_BUILD_ROOT -depth -type d -exe
%check export PAR_GLOBAL_TEMP=/var/tmp -export PAR_GLOBAL_TMPDIR=/var/tmp +#export PAR_GLOBAL_TMPDIR=/var/tmp ## does not pass # make test PERL_TEST_POD=1 || :
@@ -67,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/*
%changelog +* Wed Sep 23 2009 Stepan Kasal skasal@redhat.com - 0.991-4 +- too hard to build without stripping (#524894) + * Mon Sep 21 2009 Stepan Kasal skasal@redhat.com - 0.991-3 - patch to use $RPM_OPT_FLAGS - patch to submit the third parameter to open()
perl-devel@lists.fedoraproject.org