Change "AutoReqProv: no" to "AutoReq: no" 07/263707/3 accepted/tizen/unified/20210909.101211 submit/tizen/20210909.002709
authorAdrian Szyndela <adrian.s@samsung.com>
Wed, 8 Sep 2021 10:12:19 +0000 (12:12 +0200)
committerMichal Bloch <m.bloch@partner.samsung.com>
Wed, 8 Sep 2021 17:57:11 +0000 (17:57 +0000)
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

packaging/bcc-tools.spec

index 2b955236f815f99e7ed35308d6a4bc3e5a2012f6..8b6c6dcaef8c0f2d8466fdfb130c653ff858d058 100644 (file)
@@ -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