From ce0c3ee9301304bb22c2469f86df76f8ad0ca62a Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Feb 25 2011 14:25:35 +0000 Subject: Do not strip binaries --- diff --git a/perl-PAR-Packer.spec b/perl-PAR-Packer.spec index f1ba292..011c121 100644 --- a/perl-PAR-Packer.spec +++ b/perl-PAR-Packer.spec @@ -1,6 +1,6 @@ Name: perl-PAR-Packer Version: 1.008 -Release: 2%{?dist} +Release: 3%{?dist} Summary: PAR Packager License: GPL+ or Artistic Group: Development/Libraries @@ -25,12 +25,8 @@ stand-alone executables, perl scripts and PAR files. %setup -q -n PAR-Packer-%{version} %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" +# DEBUG variable needed to disable stripping binary +DEBUG=1 %{__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. make PAR_GLOBAL_TEMP=/var/tmp @@ -68,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Fri Feb 25 2011 Petr Pisar - 1.008-3 +- Do not strip binaries + * Tue Feb 08 2011 Fedora Release Engineering - 1.008-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild