Red Hat Bugzilla – Bug 1310329
fedpkg srpm failed for parsing weakdep tags
Last modified: 2016-06-08 12:06:15 EDT
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:188.8.131.52-4.fc24
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):
Steps to Reproduce:
1.fedpkg co libreoffice
3. fedpkg srpm
as reported above, could not execute srpm
should give me srpm at least.
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.