diff --git a/libxml2.spec b/libxml2.spec index 8d8a9ab..1d94460 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -99,18 +99,18 @@ sed -i 's|#!/usr/bin/python |#!%{__python3} |' py3doc/*.py %build %configure -make %{_smp_mflags} +%make_build find doc -type f -exec chmod 0644 \{\} \; %install rm -fr %{buildroot} -make install DESTDIR=%{buildroot} +%make_install make clean %configure --with-python=%{__python3} -make install DESTDIR=%{buildroot} +%make_install # multiarch crazyness on timestamp differences or Makefile/binaries for examples touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{_bindir}/xml2-config