From 388c1e09aa5c1a7d5532b0b61c3789fe199733e3 Mon Sep 17 00:00:00 2001 From: Štěpán Kasal Date: Sep 23 2009 18:18:38 +0000 Subject: - too hard to build without stripping (#524894) --- diff --git a/perl-PAR-Packer.spec b/perl-PAR-Packer.spec index f736399..630c3e9 100644 --- a/perl-PAR-Packer.spec +++ b/perl-PAR-Packer.spec @@ -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 and PAR files. %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 -exec rmdir {} 2>/dev/null \; %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 - 0.991-4 +- too hard to build without stripping (#524894) + * Mon Sep 21 2009 Stepan Kasal - 0.991-3 - patch to use $RPM_OPT_FLAGS - patch to submit the third parameter to open()