From e5a93508d3eaa9d70ef696ddac1170b79ba901eb Mon Sep 17 00:00:00 2001 From: Dominik Mierzejewski Date: Wed, 2 Jul 2008 22:46:55 +0000 Subject: [PATCH] - use a configure option instead of removing unwanted file after make install --- openbabel.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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