"AutoReq: no" disables all the Requires dependencies generation,
while they might be usable for building in some contexts.
This commit replaces it with the filter, which targets
only "python(abi) = 2.7" dependency. The issue with this dependency
is that there are two packages that provide it ("python" and
"python3-base"). It should be probably fixed in some other way,
but so far this way seems to be a workaround with the smallest
impact.
Change-Id: I163f22bddb8d1b65b91726e9a08439f1afc099c2
Group: Development/Compilers
URL: https://github.com/iovisor/bcc
Source0: %{name}-%{version}.tar.gz
-AutoReq: no # workaround an OBS issue with dependencies
ExcludeArch: aarch64
Requires: /sbin/ldconfig
BuildRequires: gcc >= 3.4
BuildRequires: llvm-static-devel
BuildRequires: pkgconfig(zlib)
+# workaround for an issue with dependencies for python(abi) = 2.7, provided
+# by multiple packages: python and python3-base
+%filter_from_requires /^python(abi)/d
+%filter_setup
+
%description
BCC is a toolkit for creating efficient kernel tracing and manipulation
programs, and includes several useful tools and examples. It makes use