]> git.pld-linux.org Git - packages/libnbd.git/commitdiff
- fix install if ocaml is disabled
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 11 Mar 2021 22:22:15 +0000 (23:22 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 11 Mar 2021 22:22:15 +0000 (23:22 +0100)
libnbd.spec

index 7941c31c2506a3c88f17c25835d8f6effb27587d..e51e2436855e33d2384d4af3dcae28b84ba0d9b5 100644 (file)
@@ -182,7 +182,9 @@ rm -rf $RPM_BUILD_ROOT
 # Delete libtool crap.
 find $RPM_BUILD_ROOT -name '*.la' -delete
 
+%if %{with ocaml}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/*.owner
+%endif
 
 # Delete the golang man page since we're not distributing the bindings.
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-golang.3*
This page took 0.098113 seconds and 4 git commands to generate.