]> git.saurik.com Git - wxWidgets.git/commitdiff
Accomodate either {prefix}/lib or {prefix}/lib64 (the latter is used
authorRobin Dunn <robin@alldunn.com>
Fri, 10 Sep 2004 21:44:33 +0000 (21:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 10 Sep 2004 21:44:33 +0000 (21:44 +0000)
on SuSE x86_64 distro)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/wxPythonFull.spec.in

index 1bd079e8128f013362a6f9f8834c17febd4ff52e..2a56d542ef9e277c035cdc6f814528e076210d5a 100644 (file)
@@ -232,7 +232,7 @@ install -m 644 wx/tools/XRCed/XRCed_32.png $RPM_BUILD_ROOT%{_datadir}/icons/hico
 install -m 644 wx/tools/XRCed/XRCed_32.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/XRCed.png
 
 # install Mandrake menu
-mkdir -p $RPM_BUILD_ROOT/%{_libdir}/menu
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/menu
 cat > $RPM_BUILD_ROOT%{_libdir}/menu/%{name} <<EOF
 ?package(%{name}): \\
        command="%{_bindir}/pyshell" \\
@@ -300,7 +300,7 @@ if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || tru
 %doc docs/preamble.txt docs/licence.txt docs/lgpl.txt docs/readme.txt docs/changes.txt
 %doc wxPython/docs/*
 %{_bindir}/*
-%{_libdir}/python%{pyver}/site-packages/*
+%{pref}/lib*/python%{pyver}/site-packages/*
 %dir %{wxpref}
 %dir %{wxpref}/lib
 %{wxpref}/lib/libwx*