- Update to version 1.7
* New integer parsing/formatting implementation + Functions that convert from and to integers (e.g. as_int/set_value) do not rely on CRT any more. + New implementation is 3-5x faster and is always correct wrt overflow or underflow. This is a behavior change - where previously as_uint() would return UINT_MAX on a value "-1", it now returns 0. * New features + XPath objects (xpath_query, xpath_node_set, xpath_variable_set) are now movable if your compiler supports C++11. Additionally, xpath_variable_set is copyable. + Added format_indent_attributes that makes the resulting XML friendlier to line diff/merge tools. + Added a variant of xml_node::attribute function with a hint that can improve lookup performance. + Custom allocation functions are now allowed (but not required) to throw instead of returning a null pointer. * Bug fixes + Fix Clang 3.7 crashes in out-of-memory cases (C++ DR 1748) + Fix xpath_node_set assignment to provide strong exception guarantee + Fix saving for custom xml_writer implementations that can throw from write() - Add pugixml-config.patch to enable long long support, works better than enabling via build flags. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pugixml?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
f29948fb39
commit
5c674182dd
@@ -18,13 +18,14 @@
|
||||
|
||||
%define _libname libpugixml1
|
||||
Name: pugixml
|
||||
Version: 1.6
|
||||
Version: 1.7
|
||||
Release: 0
|
||||
Summary: Light-weight C++ XML Processing Library
|
||||
License: MIT
|
||||
Group: System/Libraries
|
||||
Url: http://pugixml.org/
|
||||
Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch1: pugixml-config.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@@ -69,10 +70,11 @@ The library is extremely portable and easy to integrate and use.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
cd scripts
|
||||
%cmake -DBUILD_DEFINES="-DPUGIXML_HAS_LONG_LONG"
|
||||
%cmake
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user