commit 242b457834c0967cd65c08bd9420c946b57754af Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Fri Feb 25 15:25:35 2011 +0100 Do not strip binaries perl-PAR-Packer.spec | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) --- diff --git a/perl-PAR-Packer.spec b/perl-PAR-Packer.spec index c4d703e..9473177 100644 --- a/perl-PAR-Packer.spec +++ b/perl-PAR-Packer.spec @@ -1,6 +1,6 @@ Name: perl-PAR-Packer Version: 1.005 -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 <ppisar@xxxxxxxxxx> - 1.005-3 +- Do not strip binaries + * Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 1.005-2 - rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel