]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - checkpolicy/checkpolicy.nm
checkpolicy: Make package work on x86_64.
[people/pmueller/ipfire-3.x.git] / checkpolicy / checkpolicy.nm
index 39317a9d6739275019a5dcc3ec089f1406acfdba..99a15ca4edcdc80f21bd98295264676252e1662d 100644 (file)
@@ -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