[subsurface] Fix build

Pierre-YvesChibon pingou at fedoraproject.org
Thu Feb 21 16:40:16 UTC 2013


commit 553e19616968cb41baad01c7d6745f6ffe6e7898
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date:   Thu Feb 21 17:39:22 2013 +0100

    Fix build

 subsurface.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/subsurface.spec b/subsurface.spec
index 8524756..17b9789 100644
--- a/subsurface.spec
+++ b/subsurface.spec
@@ -43,7 +43,7 @@ all the dive computer supported by libdivecomputer.
 
 
 %prep
-%setup -q -n Subsurface-%{version}
+%setup -q -c -n Subsurface
 
 %build
 make %{?_smp_mflags}
@@ -56,7 +56,7 @@ desktop-file-install                                    \
 --dir=$RPM_BUILD_ROOT%{_datadir}/applications              \
 $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
 
-chmod -x $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/scalable/apps/subsurface.svg
+chmod -x $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/scalable/apps/subsurface-icon.svg
 
 %find_lang %{name}
 
@@ -77,7 +77,7 @@ fi
 %doc README Documentation
 %{_bindir}/subsurface
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%{_datadir}/icons/hicolor/scalable/apps/%{name}-icon.svg
 %{_datadir}/%{name}/
 %{_mandir}/man1/%{name}.1.*
 


More information about the scm-commits mailing list