On 07/11/17 20:45, ToddAndMargo wrote:
> On 11/07/2017 04:07 AM, John Pilkington wrote:
>> On 07/11/17 11:11, ToddAndMargo wrote:
>>> Dear List,
>>>
>>> SL 7.4
>>>
>>> What am I doing wrong?
>>>
>>>
>>> $ rpmbuild --rebuild simple-scan-3.26.1-1.fc27.src.rpm
>>> Installing simple-scan-3.26.1-1.fc27.src.rpm
>>> ...
>>> error: line 25: Unknown tag: Recommends: yelp
>>>
>>> $ rpm -qa yelp\*
>>> yelp-3.22.0-1.el7.x86_64
>>> yelp-xsl-3.20.1-1.el7.noarch
>>> yelp-libs-3.22.0-1.el7.x86_64
>>> yelp-tools-3.18.0-1.el7.noarch
>>>
>>> Many thanks,
>>> -T
>>>
>> You could try editing the specfile to 'Requires' ?
>
> Thank you and was afraid of that.
>
I have a specfile (for MythTV) that works in mock under fc25 in builds
for both SL7 and fc25. It's based on one from rpmfusion and includes
the lines
Requires: python-MythTV
%{?fedora:Recommends: mesa-vdpau-drivers}
But that might be using an rpmfusion macro. And of course other
problems might emerge; fc27 is several steps away from el7.
John