]> 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 b34378c046c87e72cddd0251f4500864bf2b5f10..df0e73a4aa50a0f1e6b2fd41a550cdf0e3a03345 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = nettle
 version    = 2.4
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.lysator.liu.se/~nisse/nettle/
@@ -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