Committing fixes to .spec file

epel9
Jonathan Robie 15 years ago
parent dc6cb27e50
commit cf77dab8cd

@ -1,7 +1,7 @@
Summary: Validating XML Parser Summary: Validating XML Parser
Name: xerces-c Name: xerces-c
Version: 3.0.1 Version: 3.0.1
Release: 1%{?dist} Release: 2%{?dist}
License: ASL 2.0 License: ASL 2.0
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://xml.apache.org/xerces-c/ URL: http://xml.apache.org/xerces-c/
@ -52,13 +52,15 @@ manipulating, and validating XML documents.
%{__perl} -pi.orig -e 's|(PREFIX.)/lib\b|$1/%{_lib}|g' ./configure ./Makefile.in %{__perl} -pi.orig -e 's|(PREFIX.)/lib\b|$1/%{_lib}|g' ./configure ./Makefile.in
# make rpmlint happy # make rpmlint happy
# changing the line ending from dos/win to unix. # changing the line ending from dos/win to unix.
sed -i 's/\r//' doc/charter.xml # sed -i 's/\r//' doc/*.xml
# convert the documents to utf8 # convert the documents to utf8
iconv -f iso8859-1 -t utf-8 credits.txt > credits.utf8 && mv -f credits.{utf8,txt} # iconv -f iso8859-1 -t utf-8 credits.txt > credits.utf8 && mv -f credits.{utf8,txt}
iconv -f iso8859-1 -t utf-8 doc/feedback.xml > doc/feedback.utf8 && mv -f doc/feedback.{utf8,xml} # iconv -f iso8859-1 -t utf-8 doc/feedback.xml > doc/feedback.utf8 && mv -f doc/feedback.{utf8,xml}
iconv -f iso8859-1 -t utf-8 doc/migration.xml > doc/migration.utf8 && mv -f doc/migration.{utf8,xml} # iconv -f iso8859-1 -t utf-8 doc/migration.xml > doc/migration.utf8 && mv -f doc/migration.{utf8,xml}
iconv -f iso8859-1 -t utf-8 doc/releases_archive.xml > doc/releases_archive.utf8 && mv -f doc/releases_archive.{utf8,xml} # iconv -f iso8859-1 -t utf-8 doc/releases_archive.xml > doc/releases_archive.utf8 && mv -f doc/releases_archive.{utf8,xml}
%build %build
%configure %configure

Loading…
Cancel
Save