]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
policycoreutils: Make package work on x86_64.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 17 Mar 2012 11:27:14 +0000 (12:27 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 24 Mar 2012 10:00:50 +0000 (11:00 +0100)
policycoreutils/policycoreutils.nm

index ba7f263b4c985b82b5d838bbf794d665c78ffa68..16a03e59601b2f392b1c7d37c4f23d9eaf210d43 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = policycoreutils
 version    = 2.1.8
-release    = 3
+release    = 4
 
 groups     = System/Base
 url        = http://www.selinuxproject.org
@@ -56,13 +56,13 @@ build
 
        make_build_targets += \
                LSPP_PRIV=y \
-               LIBDIR=/usr/lib \
+               LIBDIR=%{libdir} \
                CFLAGS="%{CFLAGS}" \
                all
 
        make_install_targets +=\
                LSPP_PRIV=y \
-               LIBDIR=%{BUILDROOT}/usr/lib
+               LIBDIR=%{BUILDROOT}%{libdir}
 
        # Build sepolgen.
        build_cmds
@@ -113,7 +113,7 @@ packages
                        /usr/bin/sandbox
                        /usr/bin/sepolgen-ifgen
                        /usr/bin/sepolgen-ifgen-attr-helper
-                       /usr/lib/python*
+                       %{libdir}/python*
                        /usr/sbin/semanage
                        /usr/share/man/man1/audit2allow.1
                        /usr/share/man/man1/audit2why.1