[RemoteBox/el6] Fix wrong location of essential files

Christopher Meng cicku at fedoraproject.org
Fri Feb 13 07:18:12 UTC 2015


commit 711adeabe72e4803dd5e7b2a583425eb6e5ad065
Author: Christopher Meng <i at cicku.me>
Date:   Fri Feb 13 15:17:41 2015 +0800

    Fix wrong location of essential files

 RemoteBox.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/RemoteBox.spec b/RemoteBox.spec
index 024d0e4..c920a14 100644
--- a/RemoteBox.spec
+++ b/RemoteBox.spec
@@ -5,7 +5,7 @@
 
 Name:           RemoteBox
 Version:        1.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Open Source VirtualBox Client with Remote Management
 License:        GPLv2
 URL:            http://knobgoblin.org.uk
@@ -38,10 +38,10 @@ accessing the display of guests – completely remotely.
 %prep
 %setup -q
 
-# We need to tell RemoteBox where to find it's files
-sed -i 's|$Bin/docs|%{_pkgdocdir}|g' remotebox
-sed -i 's|$Bin/share/remotebox|$Bin/share/%{name}|g' remotebox
-sed -i 's|$Bin/|%{_prefix}/|g' remotebox share/remotebox/*.pl
+# We need to tell RemoteBox where to find its files
+sed -i 's|$Bin/docs|%{_docdir}/%{name}-%{version}|g' remotebox
+sed -i -e 's|$Bin/share/remotebox|$Bin/share/%{name}|g' \
+       -e 's|$Bin/|%{_prefix}/|g' remotebox share/remotebox/*.pl
 
 %build
 # Nothing to build.
@@ -70,5 +70,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 %{_datadir}/%{name}/
 
 %changelog
+* Sun Jan 25 2015 Christopher Meng <rpm at cicku.me> - 1.1-2
+- Fix wrong location of essential files.
+
 * Fri Nov 08 2013 Christopher Meng <rpm at cicku.me> - 1.1-1
 - RHEL only ships gtk2 2.18, therefore we can only use 1.1 version.


More information about the scm-commits mailing list