Do you have actually spec that specified BuildRequires with separated
spaces ?
2017-12-07 10:42 GMT+01:00 Tom Hughes <tom(a)compton.nu>:
On 07/12/17 09:29, Marwan Rabbâa wrote:
I am creating a tool to automate RPM build process (at least reduce
> maintenance process).
>
> I have found a wonderful (for my tests) RPM spec =>
>
http://pkgs.fedoraproject.org/cgit/rpms/git.git/tree/git.spec
>
> According to section 10.1 in
http://rpm5.org/docs/rpm-guide.pdf commas
> are not allowed in BuildRequires, but I have found
>
Note that
rpm5.org describes a fork of rpm and not the version used in
Fedora.
They're certainly not necessary - a space works fine to separate multiple
dependencies on the same line. A quick test suggests that they seem to be
allowed, in the sense of basically being ignored and not affecting what
dependencies are created in the src.rpm.
Tom
--
Tom Hughes (tom(a)compton.nu)
http://compton.nu/