Bug 1310329 - fedpkg srpm failed for parsing weakdep tags
Summary: fedpkg srpm failed for parsing weakdep tags
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpm
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Festi
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-20 13:06 UTC by Parag Nemade
Modified: 2016-06-08 16:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-08 16:06:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Parag Nemade 2016-02-20 13:06:08 UTC
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:5.1.1.1-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):
rpm-4.11.3-17.el7.x86_64

How reproducible:
always

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.