[Fedora-packaging] Kernel modules (was: Re: tpctl in extras missing dependancy for kernel-module-thinkpad)

Matthew Miller mattdm at mattdm.org
Wed Jun 29 18:05:57 UTC 2005


On Wed, Jun 29, 2005 at 11:55:18AM -0500, Tom 'spot' Callaway wrote:
> # This is defined by the buildsystem, NOT on a per package basis.
> #%define kver 2.6.11-1.1369_FC4

If kver isn't defined, probably the canonical specfile should have a way to
either die in an explanatory way, or else guess at a default somehow.


> URL:		http://www.example.com/foo
> Source0:        http://www.example.com/foo/foo-%{version}.tar.bz2
> BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> Requires:	kernel-module-%{name}

*Probably* Requires: kernel-module-%{name} = %{version}, yeah? Maybe not,
but I bet in the general case these need to match.


-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 78 degrees Fahrenheit.




More information about the Fedora-packaging mailing list