Bug 1310329 - fedpkg srpm failed for parsing weakdep tags
fedpkg srpm failed for parsing weakdep tags
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpm (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Florian Festi
BaseOS QE Security Team
Depends On:
  Show dependency treegraph
Reported: 2016-02-20 08:06 EST by Parag Nemade
Modified: 2016-06-08 12:06 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-06-08 12:06:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Parag Nemade 2016-02-20 08:06:08 EST
Description of problem:
For some reason, I had to use RHEL7 machine to test and scratch build Fedora rawhide packages. I checkout master branch of libreoffice and tried "fedpkg srpm" on RHEL7

I got error
"error: line 289: Unknown tag: Recommends: libreoffice-calc(x86-64) = 1:
error: query of specfile /home/parag/libreoffice/libreoffice.spec failed, can't parse

Could not execute srpm: Could not get n-v-r-e from '\n'

I assume this mean rpm got no support of weakdeps in RHEL7. But is there no way then to have some kind of forceful generation of srpm, I can use then koji for official or scratch build.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.fedpkg co libreoffice
2.cd libreoffice
3. fedpkg srpm

Actual results:
as reported above, could not execute srpm

Expected results:
should give me srpm at least.

Additional info:
Considering above bug, does that mean one cannot use RHEL7 box to fix Fedora packages? I mean just module checkout, apply changes, push them, build the fedora package.

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