[skychart] Remove prohibited exe code

mattia mattia at fedoraproject.org
Sun Jan 22 10:12:28 UTC 2012


commit b33e42d384a048704be4a6f4a899207dd8e46c4f
Author: Mattia Verga <mattia.verga at tiscali.it>
Date:   Sun Jan 22 10:42:56 2012 +0100

    Remove prohibited exe code

 skychart.spec |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/skychart.spec b/skychart.spec
index 56c448f..50d994d 100644
--- a/skychart.spec
+++ b/skychart.spec
@@ -61,6 +61,15 @@ cp -p %SOURCE1 BaseData
 
 find skychart -type f -print0 |xargs -0 chmod 644
 
+# Fix exotic EOL encodings
+dos2unix -q -k tools/doc/html_doc/en/feature_class_fichiers/common.css
+dos2unix -q -k tools/doc/html_doc/en/feature_class_fichiers/custom.css
+dos2unix -q -k tools/doc/releasenotes*.txt
+
+# Remove binary files quicksat.exe and IRIDFLAR.EXE
+rm -R --force tools/data/quicksat
+rm -R --force tools/data/iridflar
+
 %build
 ./configure lazarus=%{_libdir}/lazarus prefix=%{_prefix}
 
@@ -70,11 +79,6 @@ make %{_smp_mflags} arch_flags="%{optflags}" -C skychart/library/plan404
 
 make # not concurrency-safe
 
-# Fix exotic EOL encodings
-dos2unix -q -k tools/doc/html_doc/en/feature_class_fichiers/common.css
-dos2unix -q -k tools/doc/html_doc/en/feature_class_fichiers/custom.css
-dos2unix -q -k tools/doc/releasenotes*.txt
-
 # Remove executable-stack to fix rpmlint warnings due to old Freepascal compiler
 # See upstream bug at http://www.ap-i.net/mantis/view.php?id=926
 # See Fedora bug at https://bugzilla.redhat.com/show_bug.cgi?id=771057
@@ -122,6 +126,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/skychart.desktop
 %changelog
 * Sun Jan 22 2012 Mattia Verga <mattia.verga at tiscali.it> - 3.4-4
 - Fix old FSF address in license file
+- Remove binary software quicksat.exe and IRIDFLAR.EXE
 
 * Sat Jan 21 2012 Mattia Verga <mattia.verga at tiscali.it> - 3.4-3
 - Patch to make it compile with gcc 4.7


More information about the scm-commits mailing list