[packages/spdlog] - up to 1.12

baggins baggins at pld-linux.org
Tue Jun 9 21:36:00 CEST 2020


commit a10676978a6acf110b661af9c34a0e899cbfe14e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jun 9 21:35:50 2020 +0200

    - up to 1.12

 libdir.patch | 14 ++++++++++++++
 spdlog.spec  |  6 ++++--
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/spdlog.spec b/spdlog.spec
index 40274c1..c9e2710 100644
--- a/spdlog.spec
+++ b/spdlog.spec
@@ -1,13 +1,14 @@
 Summary:	Very fast C++ logging library
 Summary(pl.UTF-8):	Bardzo szybka biblioteka C++ do logowania
 Name:		spdlog
-Version:	0.16.1
+Version:	1.12
 Release:	1
 License:	MIT
 Group:		Development/Libraries
 #Source0Download: https://github.com/COMBINE-lab/spdlog/releases
 Source0:	https://github.com/COMBINE-lab/spdlog/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	5fc7dcdd9363b38b53e4705f5da9ca17
+# Source0-md5:	e05894aef7494567b417328cee683a55
+Patch0:		libdir.patch
 URL:		https://github.com/COMBINE-lab/spdlog
 BuildRequires:	cmake >= 3.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,6 +35,7 @@ logowania.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
diff --git a/libdir.patch b/libdir.patch
new file mode 100644
index 0000000..fe012da
--- /dev/null
+++ b/libdir.patch
@@ -0,0 +1,14 @@
+--- spdlog-1.12/CMakeLists.txt~	2016-08-26 14:39:00.000000000 +0200
++++ spdlog-1.12/CMakeLists.txt	2020-06-09 21:34:36.160954731 +0200
+@@ -36,9 +36,9 @@
+ # * https://github.com/forexample/package-example
+ set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
+ 
+-set(config_install_dir "lib/cmake/${PROJECT_NAME}")
++set(config_install_dir "lib${LIB_SUFFIX}/cmake/${PROJECT_NAME}")
+ set(include_install_dir "include")
+-set(pkgconfig_install_dir "lib/pkgconfig")
++set(pkgconfig_install_dir "lib${LIB_SUFFIX}/pkgconfig")
+ 
+ set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake")
+ set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/spdlog.git/commitdiff/a10676978a6acf110b661af9c34a0e899cbfe14e



More information about the pld-cvs-commit mailing list