- use a configure option instead of removing unwanted file after make
install
This commit is contained in:
parent
8913f989fe
commit
e5a93508d3
@ -97,7 +97,7 @@ find . -name "._*" | xargs rm
|
|||||||
# there's also a typo ("autconf" instead of "autoconf")
|
# there's also a typo ("autconf" instead of "autoconf")
|
||||||
sed -i -e 's/ACLOCAL_AMFLAGS=/#ACLOCAL_AMFLAGS=/g' Makefile.am
|
sed -i -e 's/ACLOCAL_AMFLAGS=/#ACLOCAL_AMFLAGS=/g' Makefile.am
|
||||||
autoreconf --force --install
|
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}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
pushd scripts/perl
|
pushd scripts/perl
|
||||||
@ -123,8 +123,6 @@ popd
|
|||||||
|
|
||||||
%{__rm} $RPM_BUILD_ROOT%{_libdir}{,/%{name}/%{version}%{beta_ver}}/*.la
|
%{__rm} $RPM_BUILD_ROOT%{_libdir}{,/%{name}/%{version}%{beta_ver}}/*.la
|
||||||
|
|
||||||
%{__rm} $RPM_BUILD_ROOT%{_includedir}/inchi/inchi_api.h
|
|
||||||
|
|
||||||
pushd scripts/perl
|
pushd scripts/perl
|
||||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user