Bug 506757 - Whitespace is required around '=' sign in Requires directives
Summary: Whitespace is required around '=' sign in Requires directives
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-18 15:26 UTC by Peter Lemenkov
Modified: 2009-06-18 16:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-18 16:58:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.