[hugin: 1/2] one line fix to re-enable .pto file association

bpostle bpostle at fedoraproject.org
Sun Dec 15 11:54:33 UTC 2013


commit 20be1f0c9ebe7216ecc8e02b71093cf2b8060500
Author: Bruno Postle <bruno at postle.net>
Date:   Sun Dec 15 11:55:45 2013 +0000

    one line fix to re-enable .pto file association

 hugin.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/hugin.spec b/hugin.spec
index ebb1076..996e22a 100644
--- a/hugin.spec
+++ b/hugin.spec
@@ -2,7 +2,7 @@
 Summary: A panoramic photo stitcher and more
 Name: hugin
 Version: 2013.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Applications/Multimedia
 Source: http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
@@ -44,6 +44,8 @@ without a GUI environment.
 %build
 %cmake . -DBUILD_HSI=1
 make VERBOSE=1 %{?_smp_mflags}
+# backported fix from 2014.0 pre-release
+sed -i 's/Exec=hugin/Exec=hugin %%f/' src/hugin1/hugin/hugin.desktop
 
 %install
 make install DESTDIR=%{buildroot}
@@ -173,6 +175,9 @@ touch --no-create %{_datadir}/icons/gnome || :
 %{_mandir}/man1/geocpset.*
 
 %changelog
+* Sun Dec 15 2013 Bruno Postle <bruno at postle.net> - 2013.0.0-2
+- fix to re-enable .pto file association
+
 * Thu Oct 31 2013 Bruno Postle <bruno at postle.net> - 2013.0.0-1
 - upstream stable release
 


More information about the scm-commits mailing list