Re: Unknown tag: Recommends: yelp ???
On 11/07/2017 03:34 PM, John Pilkington wrote: On 07/11/17 22:17, ToddAndMargo wrote: On 11/07/2017 01:40 PM, John Pilkington wrote: 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 Hi John, At some point I am going to have to break down and learn how to make my own RPMs. What got me here was that "yelp" is installed and I am being tagged for it being missing. Something else to learn. I think the problem is that rpmbuild for el7 doesn't understand 'Recommends:'. As Tom H said, it's new. Iff that's the only problem you can perhaps just comment out that line - but IIUC you will need to build a new src.rpm from the edited specfile, and then try to rebuild from that. But I suspect that a bare 'Recommends:' implies that no build for el7 from the fc27 srpm has yet succeeded. I think you called it. I am trying to get the latest running so I can ask for bug fixes and enhancements. The developers won't even read past the version number, even if the problem is easy to check in the current version. Right now Simple Scan works, but is awkward to use. Not as awkward as xcuss (x common unix scanning system, also known as xsane). I should probably add your "%{?fedora" tag all over the place. Thank you for the help! -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: Unknown tag: Recommends: yelp ???
On 07/11/17 22:17, ToddAndMargo wrote: On 11/07/2017 01:40 PM, John Pilkington wrote: 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 Hi John, At some point I am going to have to break down and learn how to make my own RPMs. What got me here was that "yelp" is installed and I am being tagged for it being missing. Something else to learn. I think the problem is that rpmbuild for el7 doesn't understand 'Recommends:'. As Tom H said, it's new. Iff that's the only problem you can perhaps just comment out that line - but IIUC you will need to build a new src.rpm from the edited specfile, and then try to rebuild from that. But I suspect that a bare 'Recommends:' implies that no build for el7 from the fc27 srpm has yet succeeded. I should probably add your "%{?fedora" tag all over the place. Thank you for the help! -T
Re: Unknown tag: Recommends: yelp ???
On 11/07/2017 01:40 PM, John Pilkington wrote: 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 Hi John, At some point I am going to have to break down and learn how to make my own RPMs. What got me here was that "yelp" is installed and I am being tagged for it being missing. Something else to learn. I should probably add your "%{?fedora" tag all over the place. Thank you for the help! -T
Re: Unknown tag: Recommends: yelp ???
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
Re: Unknown tag: Recommends: yelp ???
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.
Re: Unknown tag: Recommends: yelp ???
On 11/07/2017 05:12 AM, Tom H wrote: On Tue, Nov 7, 2017 at 6:11 AM, ToddAndMargowrote: 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 Fedora has introduced weak dependencies, "recommends" and "suggests", like Debian/Ubuntu/etc. You can either remove the "recommends" or change it/them to "requires", with the latter solution being the safer one. Thank you!
Re: Unknown tag: Recommends: yelp ???
On Tue, Nov 7, 2017 at 6:11 AM, ToddAndMargowrote: > > 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 Fedora has introduced weak dependencies, "recommends" and "suggests", like Debian/Ubuntu/etc. You can either remove the "recommends" or change it/them to "requires", with the latter solution being the safer one.
Re: Unknown tag: Recommends: yelp ???
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' ?