[xerces-c/f15] Use dos2unix -k instead of unrecognized option -U

Daniel Drake dsd at fedoraproject.org
Thu Oct 6 09:27:26 UTC 2011


commit a55cd0b29843d8f28da35b8390a9f2ada3f4d51c
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Thu Mar 10 10:55:16 2011 +0200

    Use dos2unix -k instead of unrecognized option -U

 xerces-c.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xerces-c.spec b/xerces-c.spec
index ea1e88a..11d34fa 100644
--- a/xerces-c.spec
+++ b/xerces-c.spec
@@ -1,7 +1,7 @@
 Summary:	Validating XML Parser
 Name:		xerces-c
 Version:	3.0.1
-Release:	21%{?dist}
+Release:	22%{?dist}
 License:	ASL 2.0
 Group:		System Environment/Libraries
 URL:		http://xml.apache.org/xerces-c/
@@ -70,7 +70,7 @@ make install DESTDIR="$RPM_BUILD_ROOT"
 # Correct errors in encoding
 iconv -f iso8859-1 -t utf-8 CREDITS > CREDITS.tmp && mv -f CREDITS.tmp CREDITS
 # Correct errors in line endings
-pushd doc; dos2unix -U *.xml; popd
+pushd doc; dos2unix -k *.xml; popd
 # Remove unwanted binaries
 rm -rf $RPM_BUILD_ROOT%{_bindir}
 # Remove .la files
@@ -119,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc README LICENSE NOTICE CREDITS doc _docs/*
 
 %changelog
+* Thu Oct 06 2011 Daniel Drake <dsd at laptop.org> - 3.0.1-22
+- Use dos2unix -k instead of unrecognized option -U
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-21
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list