]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - bzip2/bzip2.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / bzip2 / bzip2.nm
index 41ef384111b0ab04eaa46755ef1eedee52a930a4..39dcf189686f874fbdc0ca01ebcc9d789f10237a 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = bzip2
 version    = 1.0.6
-release    = 2
+release    = 3
 
 groups     = Applications/Compression
 url        = http://www.bzip.org/
@@ -29,10 +29,12 @@ build
 
        build
                %{DO_FIX_LIBTOOL}
-               make -f Makefile-libbz2_so %{PARALLELISMFLAGS}
+               make -f Makefile-libbz2_so %{PARALLELISMFLAGS} \
+                       CFLAGS="%{CFLAGS}"
 
                make clean
-               make %{PARALLELISMFLAGS}
+               make %{PARALLELISMFLAGS} \
+                       CFLAGS="%{CFLAGS}"
        end
 
        install
@@ -56,8 +58,12 @@ packages
        package %{name}
                groups += Build
        end
-       
+
        package %{name}-devel
                template DEVEL
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end