On Thu, Dec 07, 2017 at 10:29:28AM +0100, Marwan Rabbâa wrote:
According to section 10.1 in
http://rpm5.org/docs/rpm-guide.pdf
commas are
not allowed in BuildRequires,
This is about RPM 5.
but I have found
******************************************
BuildRequires: perl(Error), perl(ExtUtils::MakeMaker)
******************************************
Fedora uses RPM 4.
How can I help for this ?
Only the "rpm" package maintainer in Fedora knows if this is indended
feature or
a backward-compatibility feature. But provided the commans are widely used in
Fedora, I believe your tool should deal with them.
I don't know what exactly you are trying to do, but I have a SPEC parser
<
https://pagure.io/RPM-SpecEditor/> that cannot do much, but these
dependencies are parsed correctly.
-- Petr