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 %build
mkdir build %cmake %{?_without_tests:-DCMARK_TESTS=OFF}
cd build %cmake_build
%cmake %{?_without_tests:-DCMARK_TESTS=OFF} ..
make %{?_smp_mflags}
%install %install
cd build %cmake_install
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/libcmark.a rm %{buildroot}%{_libdir}/libcmark.a
%check %check
%if %{with tests} %if %{with tests}
cd build %cmake_build --target test
make test
%endif %endif

Loading…
Cancel
Save