]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
paxtest: Install libs to right location on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Mar 2012 15:11:19 +0000 (16:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Mar 2012 15:11:19 +0000 (16:11 +0100)
paxtest/paxtest.nm

index 662e49b37fc65312279e4088cc1757d6dce78f73..cae3a7cee0ff0ce89ed49d2c2f128e71a79fd053 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = paxtest
 version    = 0.9.9
-release    = 3
+release    = 4
 
 groups     = Security/Tools
 url        = http://pax.grsecurity.org/
@@ -22,20 +22,24 @@ sources    = %{thisapp}.tgz
 
 build
        build
-               make -f Makefile.psm RUNDIR=/usr/lib/paxtest \
+               make -f Makefile.psm RUNDIR=%{libdir}/paxtest \
                        %{PARALLELISMFLAGS}
        end
 
        install
                make -f Makefile.psm install DESTDIR=%{BUILDROOT} \
-                       RUNDIR=/usr/lib/paxtest BINDIR=/usr/bin
+                       RUNDIR=%{libdir}/paxtest BINDIR=%{bindir}
        end
 
+       # Ignore errors on extract-debuginfo, because this
+       # package contains wrong/broken/unoptimized files by
+       # intention.
+       debuginfo_options = || :
 end
 
 quality-agent
        whitelist_execstack
-               /usr/lib/paxtest
+               %{libdir}/paxtest
        end
 end