[packages/yaml-cpp] - updated to 0.8.0 (new soname)

qboosh qboosh at pld-linux.org
Sun Aug 20 16:29:54 CEST 2023


commit fec76a3cbbb45774ae20abd45b581c58020b3e71
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Aug 20 15:51:21 2023 +0200

    - updated to 0.8.0 (new soname)

 yaml-cpp-cmake-config.patch | 12 ------------
 yaml-cpp.spec               | 12 +++++-------
 2 files changed, 5 insertions(+), 19 deletions(-)
---
diff --git a/yaml-cpp.spec b/yaml-cpp.spec
index 9e2b8a1..c635ff9 100644
--- a/yaml-cpp.spec
+++ b/yaml-cpp.spec
@@ -1,15 +1,14 @@
 Summary:	YAML parser and emitter for C++
 Summary(pl.UTF-8):	Biblioteka C++ analizująca i generująca YAML
 Name:		yaml-cpp
-Version:	0.7.0
+Version:	0.8.0
 Release:	1
 License:	MIT
 Group:		Libraries
 #Source0Download: https://github.com/jbeder/yaml-cpp/releases
-Source0:	https://github.com/jbeder/yaml-cpp/archive/%{name}-%{version}.tar.gz
-# Source0-md5:	74d646a3cc1b5d519829441db96744f0
+Source0:	https://github.com/jbeder/yaml-cpp/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	1d2c7975edba60e995abe3c4af6480e5
 Patch0:		%{name}-gtest-no-install.patch
-Patch1:		%{name}-cmake-config.patch
 URL:		https://github.com/jbeder/yaml-cpp/
 BuildRequires:	cmake >= 3.4
 BuildRequires:	libstdc++-devel >= 6:4.7
@@ -36,9 +35,8 @@ Header files for yaml-cpp library.
 Pliki nagłówkowe biblioteki yaml-cpp.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 install -d build
@@ -67,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc LICENSE README.md
 %attr(755,root,root) %{_libdir}/libyaml-cpp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libyaml-cpp.so.0.7
+%attr(755,root,root) %ghost %{_libdir}/libyaml-cpp.so.0.8
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/yaml-cpp-cmake-config.patch b/yaml-cpp-cmake-config.patch
deleted file mode 100644
index 4bdd926..0000000
--- a/yaml-cpp-cmake-config.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- yaml-cpp-yaml-cpp-0.7.0/CMakeLists.txt.orig	2022-07-02 09:37:10.699581186 +0200
-+++ yaml-cpp-yaml-cpp-0.7.0/CMakeLists.txt	2022-07-02 09:37:13.156234543 +0200
-@@ -127,6 +127,9 @@ set_target_properties(yaml-cpp PROPERTIE
-   PROJECT_LABEL "yaml-cpp ${yaml-cpp-label-postfix}"
-   DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
- 
-+# substituted in yaml-cpp-config.cmake
-+set(EXPORT_TARGETS yaml-cpp CACHE INTERNAL "export targets")
-+
- configure_package_config_file(
-   "${PROJECT_SOURCE_DIR}/yaml-cpp-config.cmake.in"
-   "${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yaml-cpp.git/commitdiff/fec76a3cbbb45774ae20abd45b581c58020b3e71



More information about the pld-cvs-commit mailing list