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 %build
mkdir -p build
cd build
%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} \ %cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} \
..
%make_build %cmake_build
%install %install
cd build %cmake_install
%make_install
#Remove installed doc #Remove installed doc
rm -rf %{buildroot}%{_docdir}/%{name} 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 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild 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 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild