From 2947c340450715296907500552d4b328337e700b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 7 Jan 2012 16:01:35 +0100 Subject: [PATCH] dmraid: Make package work on x86_64. --- dmraid/dmraid.nm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dmraid/dmraid.nm b/dmraid/dmraid.nm index 9a43c0b51..a8d2a04f9 100644 --- a/dmraid/dmraid.nm +++ b/dmraid/dmraid.nm @@ -5,7 +5,7 @@ name = dmraid version = 1.0.0.rc15 -release = 2 +release = 3 groups = System/Filesystems url = http://people.redhat.com/heinzm/sw/dmraid @@ -34,7 +34,7 @@ build configure_options += \ --sbindir=/sbin \ - --libdir=/lib \ + --libdir=/%{lib} \ --disable-static \ --disable-static_link \ --enable-libselinux @@ -44,19 +44,19 @@ build end install_cmds - mkdir -pv %{BUILDROOT}/{,usr}/lib + mkdir -pv %{BUILDROOT}/{,usr}/%{lib} install -v -m 755 lib/libdmraid.so \ - %{BUILDROOT}/lib/libdmraid.so.%{version} - ln -svf ../../lib/libdmraid.so.%{version} %{BUILDROOT}/usr/lib/libdmraid.so + %{BUILDROOT}/%{lib}/libdmraid.so.%{version} + ln -svf ../../%{lib}/libdmraid.so.%{version} %{BUILDROOT}%{libdir}/libdmraid.so # Install development headers. - install -m 644 include/dmraid/*.h %{BUILDROOT}/usr/include/dmraid/ + mkdir -pv %{BUILDROOT}%{includedir}/dmraid + install -m 644 include/dmraid/*.h %{BUILDROOT}%{includedir}/dmraid/ end end packages package %{name} - end package %{name}-devel template DEVEL -- 2.39.5