From: Adrian Szyndela Date: Wed, 8 Sep 2021 10:12:19 +0000 (+0200) Subject: Change "AutoReqProv: no" to "AutoReq: no" X-Git-Tag: submit/tizen/20210909.002709^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=610feb03a714bf345584248ba1917daeaddd0db7;p=platform%2Fupstream%2Fbcc.git Change "AutoReqProv: no" to "AutoReq: no" This reverts commit 5529304523010614bcca9377fe50b9909bf3b548. The "AutoReqProv: no" line disables automatic dependency generation for both 'requires' and 'provides' rpm sections. This caused errors for packages that used bcc-tools-devel, because they required 'libbcc.so.0' but no package was providing it. The line was probably added due to some kind of OBS issues with dependencies, but the exact reason is unknown. We are going to keep "AutoReq: no" so as not to bring these issues back. Maybe a different approach via filtering dependencies could be tried if this turns out insufficient. Change-Id: I823f76b8f2cf0b0408d8dbc332c2ec6202698bae --- diff --git a/packaging/bcc-tools.spec b/packaging/bcc-tools.spec index 2b955236..8b6c6dca 100644 --- a/packaging/bcc-tools.spec +++ b/packaging/bcc-tools.spec @@ -7,10 +7,8 @@ Vendor: None (open source) Group: Development/Compilers URL: https://github.com/iovisor/bcc Source0: %{name}-%{version}.tar.gz - -AutoReqProv: no +AutoReq: no # workaround an OBS issue with dependencies ExcludeArch: aarch64 - Requires: /sbin/ldconfig BuildRequires: gcc >= 3.4 BuildRequires: cmake python