]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
mpfr: Make package work on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Dec 2011 17:12:27 +0000 (18:12 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 22 Dec 2011 17:12:27 +0000 (18:12 +0100)
mpfr/mpfr.nm

index 4a19405518ce91ddf1ac6aea071b1ab200a892d0..0615b74b04337e97856f1adc0a494884f953d826 100644 (file)
@@ -56,8 +56,8 @@ build
 
        install_cmds
                cd %{DIR_SRC}/%{name}-%{compat_version}
-               install -m 644 .libs/libmpfr.so.1.2.2 %{BUILDROOT}/usr/lib/
-               ln -svf libmpfr.so.1.2.2 %{BUILDROOT}/usr/lib/libmpfr.so.1
+               install -m 644 .libs/libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}
+               ln -svf libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}/libmpfr.so.1
        end
 end
 
@@ -72,7 +72,7 @@ packages
                summary = Compat libraries of %{thisapp}.
 
                files
-                       /usr/lib/libmpfr.so.1*
+                       %{libdir}/libmpfr.so.1*
                end
        end