Bug 506757

Summary: Whitespace is required around '=' sign in Requires directives
Product: [Fedora] Fedora Reporter: Peter Lemenkov <lemenkov>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-18 16:58:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Lemenkov 2009-06-18 15:26:24 UTC
These syntactically correct Requires directives producing missing dependencies (see subpackage demo):

http://cvs.fedoraproject.org/viewvc/rpms/openscada/devel/openscada.spec?revision=1.4&view=markup

Requires:%{name}-ARH-DBArch=%{version}-%{release}
Requires:%{name}-ARH-FSArch=%{version}-%{release}
Requires:%{name}-ARH-SQLite=%{version}-%{release}

After adding whitespace around '=' sign, the issue was gone. This should be either reported upstream and fixed, or described in docs. Unfortunately, I cannot find the description of this issue in docs.

Comment 1 Panu Matilainen 2009-06-18 16:58:27 UTC
See /usr/share/doc/rpm-*/dependencies, or in a bit nicer format: http://rpm.org/wiki/PackagerDocs/Dependencies: "Spaces are required around the numeric operator to separate the operator from the package name."

This has always been the case, and changing it would only introduce a spec-file incompatibility for something that makes the spec less readable.