From: Stefan Schantl Date: Sat, 17 Mar 2012 11:22:45 +0000 (+0100) Subject: checkpolicy: Make package work on x86_64. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee66939be85cd1527cd2a501526730e69efdea6;p=ipfire-3.x.git checkpolicy: Make package work on x86_64. --- diff --git a/checkpolicy/checkpolicy.nm b/checkpolicy/checkpolicy.nm index 39317a9d6..99a15ca4e 100644 --- a/checkpolicy/checkpolicy.nm +++ b/checkpolicy/checkpolicy.nm @@ -5,7 +5,7 @@ name = checkpolicy version = 2.1.8 -release = 1 +release = 2 groups = Development/System url = http://userspace.selinuxproject.org @@ -35,7 +35,7 @@ build end make_build_targets += \ - LIBDIR="/usr/lib" \ + LIBDIR="%{libdir}" \ CFLAGS="%{CFLAGS}" \ LEX=flex @@ -45,7 +45,7 @@ build end make_install_cmds += \ - LIBDIR=%{BUILDROOT}/usr/lib + LIBDIR=%{BUILDROOT}%{libdir} install_cmds install test/dismod %{BULDROOT}/usr/bin