From e4bdca1f6b19df23c8f3f4af129b10afc6e6dc82 Mon Sep 17 00:00:00 2001 From: Tomasz Kłoczko Date: Dec 26 2017 10:43:01 +0000 Subject: - yet another part about %bcond --- diff --git a/libxml2.spec b/libxml2.spec index 0e051c2..95f9824 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -114,13 +114,13 @@ rm -fr %{buildroot} make install DESTDIR=%{buildroot} -%if 0%{?with_python3} +%if %{with python3} make clean %configure \ --disable-static \ --with-python=%{__python3} make install DESTDIR=%{buildroot} -%endif # with_python3 +%endif # 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