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 - 3.4-4 - Fix old FSF address in license file +- Remove binary software quicksat.exe and IRIDFLAR.EXE * Sat Jan 21 2012 Mattia Verga - 3.4-3 - Patch to make it compile with gcc 4.7