rpms: %exclude has side-effects, remove the files from buildroot instead
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 25 Nov 2015 14:04:41 +0000 (16:04 +0200)
committerBen Pfaff <blp@ovn.org>
Thu, 26 Nov 2015 05:52:17 +0000 (21:52 -0800)
commit1247b5a751b2fc77f27c874c99c5b5f53f9b931e
tree06489462a9f88815431e66cb4f890b699a21bc34
parent9ac0aadab9f99c5f9cbe8b30cc095ce9be4be4e9
rpms: %exclude has side-effects, remove the files from buildroot instead

Due to the way debuginfo package creation is done in existing rpm
versions, its better to physically remove any non-packaged files
from the buildroot, using %exclude for the purposes causes artifacts
like broken symlinks  in the -debuginfo packages.

Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1281913
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
rhel/openvswitch-fedora.spec.in
rhel/openvswitch.spec.in