diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-09-11 09:08:54 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-09-11 09:08:54 +0000 |
commit | 79994bb2bdcb9e48758a8160104e4ddbd8f37d58 (patch) | |
tree | ff01355fbef21058355c37f52ef4ee8e0ac45837 | |
parent | a20d462e8e97cfa733af4642fb8fd2375f06ce2e (diff) | |
download | rpmtools-79994bb2bdcb9e48758a8160104e4ddbd8f37d58.tar rpmtools-79994bb2bdcb9e48758a8160104e4ddbd8f37d58.tar.gz rpmtools-79994bb2bdcb9e48758a8160104e4ddbd8f37d58.tar.bz2 rpmtools-79994bb2bdcb9e48758a8160104e4ddbd8f37d58.tar.xz rpmtools-79994bb2bdcb9e48758a8160104e4ddbd8f37d58.zip |
add xml header to xml files generated
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | genhdlist2 | 1 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,10 @@ +- genhdlist2: + o add xml header to xml files generated + +- parsehdlist, rpm2header + o fix support for rpm5 + o update deprecated code + - gendistrib: o if "xml-info" is set in media.cfg, pass --xml-info to genhdlist2 @@ -226,6 +226,7 @@ sub open_xml_lzma { my ($file) = @_; open(my $F, "| lzma -5 > $file") or die "can't open $file\n"; binmode $F, ':utf8'; + print $F qq(<?xml version="1.0" encoding="utf-8"?>\n); print $F "<media_info>"; $F; } |