]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - nettle/nettle.nm
nettle: Fix library permissions.
[people/ms/ipfire-3.x.git] / nettle / nettle.nm
index 940191e2f0a0161823261f98d4a3428565933aa2..df0e73a4aa50a0f1e6b2fd41a550cdf0e3a03345 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = nettle
-version    = 2.2
+version    = 2.4
 release    = 2
 
 groups     = System/Libraries
@@ -19,7 +19,7 @@ description
        or even in kernel space.
 end
 
-source_dl  =
+source_dl  = http://www.lysator.liu.se/~nisse/archive/
 
 build
        requires
@@ -34,6 +34,12 @@ build
        test
                make check
        end
+
+       install_cmds
+               # Fix library permissions.
+               chmod 755 %{BUILDROOT}%{libdir}/libhogweed.so.*
+               chmod 755 %{BUILDROOT}%{libdir}/libnettle.so.*
+       end
 end
 
 packages
@@ -44,4 +50,8 @@ packages
 
                requires += gmp-devel
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end