diff --git a/expat.spec b/expat.spec index 8e9b426..b461642 100644 --- a/expat.spec +++ b/expat.spec @@ -43,10 +43,10 @@ sed -i 's/install-data-hook/do-nothing-please/' lib/Makefile.am export CFLAGS="$RPM_OPT_FLAGS -fPIC" export DOCBOOK_TO_MAN="xmlto man --skip-validation" %configure -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la @@ -56,7 +56,6 @@ make check %ldconfig_scriptlets %files -%{!?_licensedir:%global license %%doc} %doc AUTHORS Changes %license COPYING %{_bindir}/*