Bug 583839 - wrong requires and buildrequires in kmodtool
Summary: wrong requires and buildrequires in kmodtool
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-19 21:19 UTC by Levente Farkas
Modified: 2010-10-29 20:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-29 20:06:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 480415 1 None None None 2021-01-20 06:05:38 UTC

Description Levente Farkas 2010-04-19 21:19:59 UTC
kmodtool contains wrong requires and buildreq. it's currently contains:
---------------------------------------
*)     kdep="kernel-%{_target_cpu} = ${verrel}${variant}"     ;;
---------------------------------------
which should have to be on fedora
---------------------------------------
*)     kdep="kernel-uname-r = ${verrel}${variant}"     ;;
---------------------------------------
while also has
---------------------------------------
    echo "BuildRequires: kernel${dashvariant}-devel-%{_target_cpu} = ${verrel}"
---------------------------------------
which should have to be on fedora:
---------------------------------------
    case "$verrel" in
        *.el*) kddep="kernel${dashvariant}-devel-%{_target_cpu} = ${verrel}"
        *.EL*) kddep="kernel${dashvariant}-devel-%{_target_cpu} = ${verrel}"
        *)     kddep="kernel-devel-uname-r = ${verrel}"
    esac
    echo "BuildRequires: ${kddep}"
---------------------------------------


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