[perl-PAR-Packer] Do not strip binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ce0c3ee9301304bb22c2469f86df76f8ad0ca62a
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 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 <ppisar@xxxxxxxxxx> - 1.008-3
+- Do not strip binaries
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.008-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux