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