Pascal Bleser 2011-07-22 08:53:51 +00:00 committed by Git OBS Bridge
parent f4fd70f2c7
commit 6aa3c78266
5 changed files with 20 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02d3cc87c49957bd4590506df07d3dd597a1753b2663f5147fe8e1a822cc9f91
size 328683

3
xmlstarlet-1.2.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:014aebbe222cb06c382f7385afc89c7789144628ed13b1484da0413b4ed8aa24
size 329503

View File

@ -1,12 +0,0 @@
--- src/xml_edit.c.orig 2011-06-02 08:33:48.440001384 +0200
+++ src/xml_edit.c 2011-06-02 08:35:40.246001357 +0200
@@ -431,7 +431,9 @@
{
xmlDocPtr doc;
int save_options =
+#if LIBXML_VERSION >= 20708
(g_ops.noblanks? 0 : XML_SAVE_WSNONSIG) |
+#endif
(g_ops.preserveFormat? 0 : XML_SAVE_FORMAT) |
(g_ops.omit_decl? XML_SAVE_NO_DECL : 0);
int read_options =

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Jul 22 08:32:57 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.2.1:
* check for NULL nodeset result (Bugs #3323189, #3323196)
* "-" was being confused with --elif
* generated XSLT should also have automatic namespaces
* allow -N after other option (Bug #3325166)
* namespace values were being registered as prefixes
* avoid segfault when asked to move namespace nodes
* missing newline in ed --help message
* don't use XML_SAVE_WSNONSIG #if libxml < 2.7.8 (Bug #3310475)
- dropped patch "xmlstarlet-backport_libxml2_2_7_8_XML_SAVE_WSNONSIG.patch",
was merged upstream
-------------------------------------------------------------------
Thu Jun 2 06:40:14 UTC 2011 - pascal.bleser@opensuse.org

View File

@ -24,7 +24,7 @@ BuildRequires: libxslt-devel >= 1.1.9
BuildRequires: sgml-skel
BuildRequires: autoconf automake gcc glibc-devel libtool pkgconfig
Summary: Command Line Tool to Process XML Documents
Version: 1.2.0
Version: 1.2.1
Release: 1
License: MIT License (or similar)
Group: Productivity/Publishing/XML
@ -32,8 +32,6 @@ Group: Productivity/Publishing/XML
Source0: xmlstarlet-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
Patch2: %{name}-xml_depyx.c.diff
# pbleser: backport for using libxml2 versions below 2.7.8 that do not support XML_SAVE_WSNONSIG
Patch3: xmlstarlet-backport_libxml2_2_7_8_XML_SAVE_WSNONSIG.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://sourceforge.net/projects/xmlstar/
@ -52,7 +50,7 @@ Authors:
%prep
%setup -q
%patch2
%patch3
#%patch3
%build
export CFLAGS="$RPM_OPT_FLAGS -W -Wall"