Fabio Valentini 5 years ago
parent 39ef986e0b
commit b30985b47e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -50,23 +50,19 @@ This package provides the cmark library.
%build
mkdir build
cd build
%cmake %{?_without_tests:-DCMARK_TESTS=OFF} ..
make %{?_smp_mflags}
%cmake %{?_without_tests:-DCMARK_TESTS=OFF}
%cmake_build
%install
cd build
make install DESTDIR=%{buildroot}
%cmake_install
rm %{buildroot}%{_libdir}/libcmark.a
%check
%if %{with tests}
cd build
make test
%cmake_build --target test
%endif

Loading…
Cancel
Save