Fix cmake build

This commit is contained in:
Sérgio M. Basto 2020-08-02 03:41:37 +01:00
parent 97a022f22d
commit 2e0e1c9dec

View File

@ -46,17 +46,13 @@ developing applications that use %{name}.
%build
mkdir -p build
cd build
%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} \
..
%make_build
%cmake_build
%install
cd build
%make_install
%cmake_install
#Remove installed doc
rm -rf %{buildroot}%{_docdir}/%{name}
@ -82,6 +78,7 @@ rm -rf %{buildroot}%{_docdir}/%{name}
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Fix cmake build
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild