DKMS 2.1.0.0 release

Mario Limonciello mario_limonciello at dell.com
Mon Aug 24 12:28:57 CDT 2009


Thomas:

I can confirm that works still on F11, so if that fixes RHEL 5.3 and
SLES 11, I'll do a follow up bug fix release with that in place.

Any other gotchas that you saw on RHEL 5.3 with the changes that were made?

Chenault, Thomas wrote:
> Yes, Fedora 11 defines _datarootdir as:
>
>     %_datarootdir      %{_prefix}/share
>
> Fedora 11 also defines _datadir as:
>
>     %_datadir          %{_datarootdir}
>
> As far as I can tell, RHEL5 and SLES11 do not define _datarootdir, but
> they do both define _datadir: 
>
>     %_datadir          %{_prefix}/share
>
> Adding the following to the top of template-dkms-mkrpm.spec might be an
> adequate solution.
>
>     %{?!_datarootdir: %define _datarootdir %{_datadir}}
>
>
> Thomas
>
>
> Mario Limonciello wrote:
>   
>> Hi Thomas:
>>
>> I was able to do this on F11 without troubles.  Is this not support on
>> legacy RPM implementations?  Can someone with more of an understanding
>> than myself of the RPM world help here?
>>
>> Thanks,
>>
>> Chenault, Thomas wrote:
>>     
>>> It appears to me that 'dkms mkrpm' is failing on RHEL5.3. The
>>>       
> problem is
>   
>>> that the _datarootdir macro which is used in
>>>       
> template-dkms-mkrpm.spec is
>   
>>> not defined. 
>>>
>>>
>>> Thomas
>>>
>>>
>>>       

-- 
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello at dell.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.us.dell.com/pipermail/dkms-devel/attachments/20090824/331b8e4a/attachment.sig 


More information about the DKMS-devel mailing list