SHA256
1
0
forked from pool/pugixml

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
This commit is contained in:
Hans-Peter Jansen 2022-02-18 08:34:55 +00:00 committed by Git OBS Bridge
parent ea39a32bda
commit e94b4a14a6
4 changed files with 20 additions and 6 deletions

3
pugixml-1.12.1.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 17 21:28:34 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org>
- 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 <antoine.belvire@opensuse.org> Wed Feb 9 20:55:17 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org>

View File

@ -18,13 +18,13 @@
%define _libname libpugixml1 %define _libname libpugixml1
Name: pugixml Name: pugixml
Version: 1.12 Version: 1.12.1
Release: 0 Release: 0
Summary: Light-weight C++ XML Processing Library Summary: Light-weight C++ XML Processing Library
License: MIT License: MIT
Group: System/Libraries Group: System/Libraries
URL: https://pugixml.org/ 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 Patch1: pugixml-config.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
@ -68,7 +68,7 @@ pugixml is a light-weight C++ XML processing library. It features:
%autosetup -p1 %autosetup -p1
%build %build
%cmake %cmake -DPUGIXML_BUILD_TESTS=ON
%make_build %make_build
%install %install
@ -77,6 +77,13 @@ pugixml is a light-weight C++ XML processing library. It features:
%post -n %{_libname} -p /sbin/ldconfig %post -n %{_libname} -p /sbin/ldconfig
%postun -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 %files devel
%doc readme.txt docs/* %doc readme.txt docs/*
%{_includedir}/*.hpp %{_includedir}/*.hpp