From aa39a628a8f639efcc2c94b8162457c28f66a4ff Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Aug 2020 15:16:09 +0200 Subject: F33 build --- libxlsxio.spec | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/libxlsxio.spec b/libxlsxio.spec index 81b5bdc..60b23af 100644 --- a/libxlsxio.spec +++ b/libxlsxio.spec @@ -16,7 +16,7 @@ Name: %{gh_project} Summary: XLSX tools from %{libname} Version: 0.2.29 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: https://github.com/%{gh_owner}/%{gh_project}/ @@ -78,13 +78,21 @@ sed -e '/LIBRARY DESTINATION/s/lib/%{_lib}/' \ -DBUILD_STATIC:BOOL=OFF \ -DBUILD_EXAMPLES:BOOL=OFF \ -DWITH_WIDE:BOOL=OFF \ - . + -S . -make %{_smp_mflags} +%if 0%{?cmake_build:1} +%cmake_build +%else +make %{?_smp_mflags} +%endif %install -make install DESTDIR="%{buildroot}" +%if 0%{?cmake_install:1} +%cmake_install +%else +make install DESTDIR=%{buildroot} +%endif # Clean with old cmake version rm -rf %{buildroot}%{_mandir}/man3/_builddir_* @@ -117,6 +125,9 @@ rm -rf %{buildroot}%{_datadir}/%{gh_project} %changelog +* Tue Aug 18 2020 Remi Collet - 0.2.29-2 +- F33 build + * Sat Jul 11 2020 Remi Collet - 0.2.29-1 - update to 0.2.29 -- cgit