[guake] Rap up the move in a if
Pierre-YvesChibon
pingou at fedoraproject.org
Tue Jun 12 20:47:56 UTC 2012
commit 43b93e918d534613fb5e30ef446568f3b7f60e2a
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date: Tue Jun 12 22:44:47 2012 +0200
Rap up the move in a if
guake.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/guake.spec b/guake.spec
index 5de9c52..7e661f3 100644
--- a/guake.spec
+++ b/guake.spec
@@ -67,7 +67,10 @@ desktop-file-install --vendor="" \
%find_lang %{name}
rm -f %{buildroot}%{python_sitearch}/%{name}/globalhotkeys.la
-mv %{buildroot}%{python_sitearch}/%{name}/* %{buildroot}%{python_sitelib}/%{name}
+
+if [ "%{python_sitearch}" != "%{python_sitelib}" ]; then
+ mv %{buildroot}%{python_sitelib}/%{name}/* %{buildroot}%{python_sitearch}/%{name}/
+fi
%pre
%gconf_schema_prepare %{name}
More information about the scm-commits
mailing list