From a508cb8cf0405fa0e20f88bd72ad6df0cf5c40b35d8bb1d13995943858cdbe38 Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Fri, 18 Feb 2022 08:34:55 +0000 Subject: [PATCH] Accepting request 955720 from home:1Antoine1:branches:devel:libraries:c_c++ - Update to version 1.12.1: * Update PUGIXML_VERSION macro to 1.12. - Run test suite on build. OBS-URL: https://build.opensuse.org/request/show/955720 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pugixml?expand=0&rev=22 --- pugixml-1.12.1.tar.gz | 3 +++ pugixml-1.12.tar.gz | 3 --- pugixml.changes | 7 +++++++ pugixml.spec | 13 ++++++++++--- 4 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 pugixml-1.12.1.tar.gz delete mode 100644 pugixml-1.12.tar.gz diff --git a/pugixml-1.12.1.tar.gz b/pugixml-1.12.1.tar.gz new file mode 100644 index 0000000..2abb25e --- /dev/null +++ b/pugixml-1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e28ab24b6e04e013d96f45d25e9f2d04c921dc68c613fd010ecaaad3892c14d +size 571665 diff --git a/pugixml-1.12.tar.gz b/pugixml-1.12.tar.gz deleted file mode 100644 index e712a59..0000000 --- a/pugixml-1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd6922a4448ec2f3eb9db415d10a49660e5d84ce20ce66b8a07e72ffc84270a7 -size 389685 diff --git a/pugixml.changes b/pugixml.changes index f22ece3..cf7c905 100644 --- a/pugixml.changes +++ b/pugixml.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 17 21:28:34 UTC 2022 - Antoine Belvire + +- Update to version 1.12.1: + * Update PUGIXML_VERSION macro to 1.12. +- Run test suite on build. + ------------------------------------------------------------------- Wed Feb 9 20:55:17 UTC 2022 - Antoine Belvire diff --git a/pugixml.spec b/pugixml.spec index cb0c328..315996e 100644 --- a/pugixml.spec +++ b/pugixml.spec @@ -18,13 +18,13 @@ %define _libname libpugixml1 Name: pugixml -Version: 1.12 +Version: 1.12.1 Release: 0 Summary: Light-weight C++ XML Processing Library License: MIT Group: System/Libraries URL: https://pugixml.org/ -Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/zeux/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Patch1: pugixml-config.patch BuildRequires: cmake BuildRequires: fdupes @@ -68,7 +68,7 @@ pugixml is a light-weight C++ XML processing library. It features: %autosetup -p1 %build -%cmake +%cmake -DPUGIXML_BUILD_TESTS=ON %make_build %install @@ -77,6 +77,13 @@ pugixml is a light-weight C++ XML processing library. It features: %post -n %{_libname} -p /sbin/ldconfig %postun -n %{_libname} -p /sbin/ldconfig +%check +%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300 +# Tweak path to find libpugixml.so.1 for Leap 15.3 and older +export LD_LIBRARY_PATH="$PWD/build" +%endif +%ctest + %files devel %doc readme.txt docs/* %{_includedir}/*.hpp