Moved CMake configs to the architecture-dependent directory.
This commit is contained in:
parent
d0fa8ffd23
commit
fc812efdd4
9
fmt.spec
9
fmt.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user