diff --git a/openbabel.spec b/openbabel.spec index d420259..26b3700 100644 --- a/openbabel.spec +++ b/openbabel.spec @@ -97,7 +97,7 @@ find . -name "._*" | xargs rm # there's also a typo ("autconf" instead of "autoconf") sed -i -e 's/ACLOCAL_AMFLAGS=/#ACLOCAL_AMFLAGS=/g' Makefile.am autoreconf --force --install -%configure --enable-shared=yes --enable-static=no --enable-maintainer-mode +%configure --enable-shared=yes --enable-static=no --disable-inchi --enable-maintainer-mode %{__make} %{?_smp_mflags} pushd scripts/perl @@ -123,8 +123,6 @@ popd %{__rm} $RPM_BUILD_ROOT%{_libdir}{,/%{name}/%{version}%{beta_ver}}/*.la -%{__rm} $RPM_BUILD_ROOT%{_includedir}/inchi/inchi_api.h - pushd scripts/perl %{__make} install DESTDIR=$RPM_BUILD_ROOT popd