- use a configure option instead of removing unwanted file after make

install
This commit is contained in:
Dominik Mierzejewski 2008-07-02 22:46:55 +00:00
parent 8913f989fe
commit e5a93508d3
1 changed files with 1 additions and 3 deletions

View File

@ -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