forked from pool/pugixml
Accepting request 955804 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/955804 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pugixml?expand=0&rev=12
This commit is contained in:
commit
bdf2f6575f
3
pugixml-1.12.1.tar.gz
Normal file
3
pugixml-1.12.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e28ab24b6e04e013d96f45d25e9f2d04c921dc68c613fd010ecaaad3892c14d
|
||||
size 571665
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd6922a4448ec2f3eb9db415d10a49660e5d84ce20ce66b8a07e72ffc84270a7
|
||||
size 389685
|
@ -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>
|
||||
|
||||
|
13
pugixml.spec
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user