Paul Gale
03/14/2023, 8:44 PMProvides: entry in the SPEC file is an array of strings describing the capabilities of the RPM.
My SPEC files header is:
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.
>rpm -q --provides grand-central
grand-central
grand-central = 1.259-0.el8
grand-central(x86-64) = 1.259-0.el8