summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-18 15:16:09 +0200
committerRemi Collet <remi@remirepo.net>2020-08-18 15:16:09 +0200
commitaa39a628a8f639efcc2c94b8162457c28f66a4ff (patch)
treed0e1b0a152c34a71ae24e6ae817576dcb24d029e
parent9354140cbd6d7bb02e36d68a7c4493a8ab874a5a (diff)
F33 buildHEADmaster
-rw-r--r--libxlsxio.spec19
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