Moved CMake configs to the architecture-dependent directory.

This commit is contained in:
Vitaly Zaitsev 2021-05-03 22:52:20 +02:00
parent d0fa8ffd23
commit fc812efdd4
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

View File

@ -3,7 +3,7 @@
%bcond_with doc
Name: fmt
Version: 7.1.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Small, safe and fast formatting library for C++
License: BSD
@ -90,7 +90,7 @@ sed -i "s/'--clean-css',//" doc/build.py
-G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DFMT_CMAKE_DIR=%{_datadir}/cmake/%{name} \
-DFMT_CMAKE_DIR=%{_libdir}/cmake/%{name} \
-DFMT_LIB_DIR=%{_libdir}
%cmake_build \
@ -118,7 +118,7 @@ rm -rf %{_vpath_builddir}/doc/html/{.buildinfo,.doctrees,objects.inv}
%files devel
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%{_datadir}/cmake/%{name}
%{_libdir}/cmake/%{name}
%{_libdir}/pkgconfig/%{name}.pc
%if %{with doc}
@ -128,6 +128,9 @@ rm -rf %{_vpath_builddir}/doc/html/{.buildinfo,.doctrees,objects.inv}
%endif
%changelog
* Mon May 03 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.3-3
- Fixed RHBZ#1956521.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild