[skychart/f16: 3/3] Correct way of disabling debuginfo package build

mattia mattia at fedoraproject.org
Wed Jan 25 18:25:23 UTC 2012


commit ebfff30a1d64c441f47b3073a0f1005369e7a986
Author: Mattia Verga <mattia.verga at tiscali.it>
Date:   Wed Jan 25 19:24:16 2012 +0100

    Correct way of disabling debuginfo package build

 skychart.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/skychart.spec b/skychart.spec
index 19b80c6..2aa64b3 100644
--- a/skychart.spec
+++ b/skychart.spec
@@ -1,6 +1,9 @@
+# Disable debuginfo package in F15 and F16 because stab debuginfo not supported cause failing build
+%global debug_package %{nil}
+
 Name: skychart
 Version: 3.4
-Release: 4%{?dist}.1
+Release: 4%{?dist}.2
 Summary: Planetarium software for the advanced amateur astronomer
 
 Group: Amusements/Graphics
@@ -14,7 +17,7 @@ Source3: getdoc.sh
 Source4: documentation.tar.gz
 
 Patch1: skychart-desktop.patch
-#Patch2: skychart-strip.patch
+Patch2: skychart-strip.patch
 Patch3: skychart-wgetdata.patch
 Patch4: gcc47.patch
 
@@ -62,7 +65,7 @@ cp -p %SOURCE2 skychart/
 # See upstream bug at http://www.ap-i.net/mantis/view.php?id=911
 %patch1 -p1
 
-#%%patch2 -p1
+%patch2 -p1
 
 # Disable wget for documentation and ephemeris data
 %patch3 -p1


More information about the scm-commits mailing list