Note that the `Provides:` entry in the SPEC file i...
# bolt
p
Note that the
Provides:
entry in the SPEC file is an array of strings describing the capabilities of the RPM. My SPEC files header is:
Copy code
Summary:        Grand Central Camel Route Repository for ActiveMQ
Name:           grand-central
Version:        1.259
Release:        0%{?dist}
License:        Apache License v2.0
Group:          Networking/Daemons
Source0:        %{name}-%{version}.0-assembly.tar.gz
Provides:       %{name}
So anyone calling
rpm -q --whatprovides …
should be prepared to receive an array, not a single string.
Copy code
>rpm -q --provides grand-central
grand-central
grand-central = 1.259-0.el8
grand-central(x86-64) = 1.259-0.el8