summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 14:00:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 14:00:44 +0000
commitdd173b3f09f26e96f6b1950a3e75f45662b4785c (patch)
tree4cdf73d9fc6660f6382e70b8f706f64f1e0dd3b7
parenta7b3541545cb1c7ea72a117fab3ed2ef3b31313f (diff)
automatic import of openbabel
-rw-r--r--openbabel.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbabel.spec b/openbabel.spec
index e0cc977..a42347e 100644
--- a/openbabel.spec
+++ b/openbabel.spec
@@ -226,7 +226,7 @@ export CXXFLAGS="%{optflags} -DEIGEN_ALTIVEC_DISABLE_MMA"
-DWITH_MAEPARSER:BOOL=OFF \
-DWITH_COORDGEN:BOOL=OFF \
-DOB_PLUGIN_INSTALL_DIR:PATH=%{_lib}/openbabel3 \
-%if 0%{?rhel}
+%if 0%{?rhel} || 0%{openEuler}
-DOPENBABEL_USE_SYSTEM_INCHI=false \
%else
-DOPENBABEL_USE_SYSTEM_INCHI=true \
@@ -308,7 +308,7 @@ ctest3 -j1 --force-new-ctest-process
%{_libdir}/libopenbabel.so.7
%{_libdir}/pkgconfig/openbabel-3.pc
%{_libdir}/cmake/openbabel3/
-%if 0%{?rhel}
+%if 0%{?rhel} || 0%{openEuler}
%{_libdir}/libinchi.so
%{_includedir}/inchi/
%endif