From 97cbe7d8a0b1774922f298a468cb12c0f562e27d Mon Sep 17 00:00:00 2001 From: yangchenguang Date: Fri, 26 Aug 2022 15:50:43 +0800 Subject: [PATCH] fix bug (cherry picked from commit aa12edf9311734e450caa44638de17847199dd31) --- fmt.spec | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/fmt.spec b/fmt.spec index 481f79c..bbe3b9a 100644 --- a/fmt.spec +++ b/fmt.spec @@ -1,7 +1,7 @@ %undefine __cmake_in_source_build Name: fmt Version: 8.0.1 -Release: 1 +Release: 2 License: MIT Summary: Small, safe and fast formatting library for C++ URL: https://github.com/fmtlib/fmt @@ -28,17 +28,7 @@ This package contains the header file for using %{name}. cmake --build ./ %{?_smp_flags} --verbose %install -install -d -m 0755 %{buildroot}/%{_includedir}/%{name} -install -d -m 0755 %{buildroot}/%{_libdir} -install -d -m 0755 %{buildroot}/%{_libdir}/cmake/%{name} -install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig -cp -arf include/fmt/* %{buildroot}/%{_includedir}/%{name} -cp -arf lib%{name}.so %{buildroot}/%{_libdir} -cp -arf lib%{name}.so.8.0.1 %{buildroot}/%{_libdir} -cp -arf lib%{name}.so.8 %{buildroot}/%{_libdir} -cp -arf fmt.pc %{buildroot}/%{_libdir}/pkgconfig -cp -arf *.cmake %{buildroot}/%{_libdir}/cmake/%{name} - +DESTDIR="%{buildroot}" cmake --install ./ %check ctest -VV %{?_smp_flags} @@ -55,5 +45,8 @@ ctest -VV %{?_smp_flags} %{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri Aug 26 2022 yangchenguang - 8.0.1-2 +- fix dependency compile failed + * Sat Aug 7 2021 liyanan - 8.0.1-1 - package init