diff --git a/.gitignore b/.gitignore index ce7291c..ca6693b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /yaksa-0.2.tar.gz +/yaksa-0.3.tar.gz +/yaksa-0.4.tar.gz diff --git a/sources b/sources index 17b7dd3..a9ac232 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yaksa-0.2.tar.gz) = 216c1ddf99b831a5beb74fff7fb54bb70a665fcc8f27d9c82e9066015fbad879b46c64c90390dc508f096fea42409febea69d0e0e3acd62cf1248b753288dfcc +SHA512 (yaksa-0.4.tar.gz) = cc8c309bdbd732733d7c87ec1ca0f9e3a9147ecd13e9f1a8fa53cada68c731b53ce8fdaf55a423cc6915a31edd82a91def2f485ad26caaec6837041dbdf7a7a4 diff --git a/yaksa.spec b/yaksa.spec index 3b6e4cb..c4215a5 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -1,12 +1,16 @@ +%bcond tests 1 + Name: yaksa -Version: 0.2 +Version: 0.4 Release: %autorelease Summary: High-performance library for noncontiguous data %global forgeurl https://github.com/pmodels/yaksa/ %forgemeta -License: BSD +%global soversion 0 + +License: BSD-3-Clause URL: %forgeurl Source0: %forgesource @@ -49,16 +53,15 @@ ln -fvs /usr/include/utlist.h src/external/yutlist.h rm %{buildroot}%{_libdir}/libyaksa.la +%if %{with tests} %check -%make_build testing - -%global soversion 0 +timeout -v 2h make -j%{_smp_build_ncpus} testing +%endif %files %license COPYRIGHT %doc README.md -%{_libdir}/libyaksa.so.%{soversion} -%{_libdir}/libyaksa.so.%{soversion}.* +%{_libdir}/libyaksa.so.%{soversion}{,.*} %files devel %{_includedir}/yaksa.h