[xmlcopyeditor] Add fix in spec file only for failed compilation

paragn paragn at fedoraproject.org
Sun Feb 10 17:22:35 UTC 2013


commit 1e64633f0eacbdd4987aaafcf5a403463c811a6b
Author: Parag Nemade <paragn at fedoraproject.org>
Date:   Sun Feb 10 22:54:26 2013 +0530

    Add fix in spec file only for failed compilation

 xmlcopyeditor.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/xmlcopyeditor.spec b/xmlcopyeditor.spec
index 59d7485..e68860c 100644
--- a/xmlcopyeditor.spec
+++ b/xmlcopyeditor.spec
@@ -1,6 +1,6 @@
 Name:           xmlcopyeditor
 Version:        1.2.0.4
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        A fast, free, validating XML editor
 
 Group:          Applications/Editors
@@ -24,6 +24,11 @@ chmod a-x AUTHORS COPYING NEWS
 %patch0 -p 1 -b .defaultbrowser
 %patch1 -p 1 -b .gcc44
 
+# let's fix the compilation error 
+# housestyle.h:71:19: error: stray ',' at end of member declaration
+sed -i 's|error,|error|g' src/housestyle.h
+sed -i 's|aspellDataPath,|,aspellDataPath,|g' src/housestyle.h
+
 %build
 %configure
 make %{?_smp_mflags}
@@ -51,6 +56,9 @@ update-desktop-database &> /dev/null || :
 %{_datadir}/pixmaps/*
 
 %changelog
+* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.2.0.4-6
+- Add fix in spec file only for failed compilation
+
 * Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.2.0.4-5
 - Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
 - Cleanup spec as per recently changed packaging guidelines


More information about the scm-commits mailing list