diff options
-rw-r--r-- | libxlsxio.spec | 19 |
1 files 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 <remi@remirepo.net> - 0.2.29-2 +- F33 build + * Sat Jul 11 2020 Remi Collet <remi@remirepo.net> - 0.2.29-1 - update to 0.2.29 |