From 455039ad91acdd000a0740178eabaec6d7ab4e57 Mon Sep 17 00:00:00 2001 From: Till Hofmann Date: May 29 2017 14:35:33 +0000 Subject: remove 3rdparty dir and add BR: tinyxml To make sure that we don't use the bundled libs, remove the 3rdparty dir during setup. --- diff --git a/libalvar.spec b/libalvar.spec index 63a0d5a..cb00048 100644 --- a/libalvar.spec +++ b/libalvar.spec @@ -16,6 +16,7 @@ BuildRequires: gcc-c++ BuildRequires: libglvnd-devel BuildRequires: opencv-devel BuildRequires: OpenSceneGraph-devel +BuildRequires: tinyxml %if ! 0%{?_with_samples} Patch0: alvar.nosamples.patch @@ -37,6 +38,7 @@ applications that use %{name}. %prep %autosetup -p1 -n alvar-%{version} +rm -rf 3rdparty %if ! 0%{?_with_samples} rm -rf sample demo %endif