rpms/php-pear-XML-Util/devel php-pear-XML-Util.spec,1.8,1.9

Christopher Stone xulchris at fedoraproject.org
Thu Oct 9 16:59:12 UTC 2008


Author: xulchris

Update of /cvs/pkgs/rpms/php-pear-XML-Util/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6449

Modified Files:
	php-pear-XML-Util.spec 
Log Message:
fix encoding


Index: php-pear-XML-Util.spec
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-XML-Util/devel/php-pear-XML-Util.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- php-pear-XML-Util.spec	9 Oct 2008 16:53:57 -0000	1.8
+++ php-pear-XML-Util.spec	9 Oct 2008 16:58:42 -0000	1.9
@@ -55,6 +55,11 @@
 # Fix end of line encoding
 sed -i 's/\r//' docdir/%{pear_name}/examples/example*.php
 
+# Fix encoding
+pushd docdir/%{pear_name}/examples
+iconv -f iso8859-1 -t utf-8 example.php > example.php.conv && mv -f example.php.conv example.php
+popd
+
 # Clean up unnecessary files
 rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
 




More information about the scm-commits mailing list