]> git.pld-linux.org Git - packages/perl.git/commitdiff
- release 4: explicit -UDEBUGGING if without --debug
authorradek <radek@pld-linux.org>
Sun, 24 Feb 2008 17:24:38 +0000 (17:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl.spec -> 1.391

perl.spec

index 36b725c8713eb63939f402dfbaaa9409256e3a51..409ed6349e3788f210047b8624f879036a94845a 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -38,7 +38,7 @@
 # extract module version from source
 %define                perl_modversion()       %([ -f %{SOURCE3} ] && awk -vp=%1 '$1 == p{m=$1; gsub(/::/, "-", m); printf("perl-%s = %s\\n", m, $3)}END{if (!m) printf("# Error looking up [%s]\\n", p)}' %{SOURCE3} || echo ERROR)
 
-%define                rel     3
+%define                rel     4
 Summary:       Practical Extraction and Report Language (Perl)
 Summary(cs.UTF-8):     Programovací jazyk Perl
 Summary(da.UTF-8):     Programmeringssproget Perl
@@ -651,7 +651,7 @@ sh Configure \
        -Dldflags="%{rpmldflags}" \
        -Dlddlflags="-shared %{rpmldflags}" \
        -Doptimize="%{rpmcflags}" \
-       %{?debug:-DDEBUGGING} \
+       -%{?debug:D}%{!?debug:U}DEBUGGING \
        -Duseshrplib \
        -Dd_dosuid \
        -Dman1dir=%{_mandir}/man1 -Dman1ext=1 \
This page took 0.034137 seconds and 4 git commands to generate.