forked from pool/tinyxml2
Accepting request 805745 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/805745 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tinyxml2?expand=0&rev=4
This commit is contained in:
commit
a88d614293
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 7 08:08:04 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- %{_libexecdir} is now /usr/libexec, so do not use it where
|
||||||
|
/usr/lib is intended
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 29 00:53:20 UTC 2017 - jengelh@inai.de
|
Fri Dec 29 00:53:20 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package tinyxml2
|
# spec file for package tinyxml2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Release: 0
|
|||||||
Summary: Basic XML parser in C++
|
Summary: Basic XML parser in C++
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://github.com/leethomason/tinyxml2
|
URL: https://github.com/leethomason/tinyxml2
|
||||||
Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -53,7 +53,7 @@ different footprints) to do such.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libtinyxml2
|
Summary: Development files for libtinyxml2
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{lib_package} = %{version}
|
Requires: %{lib_package} = %{version}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
# /usr/lib/cmake is not owned by cmake; avoid any further conflicts
|
# /usr/lib/cmake is not owned by cmake; avoid any further conflicts
|
||||||
if [ ! -d "%{buildroot}/%{_libdir}/cmake/%{name}" ]; then
|
if [ ! -d "%{buildroot}/%{_libdir}/cmake/%{name}" ]; then
|
||||||
mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}
|
mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}
|
||||||
mv %{buildroot}%{_libexecdir}/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/%{name}
|
mv %{buildroot}/usr/lib/cmake/tinyxml2 %{buildroot}/%{_libdir}/cmake/tinyxml2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user