[WBEL-devel] Newest rhn-applet and whitebox-release errata

William Hooper whooperhsd2@earthlink.net
Sun, 20 Jun 2004 15:44:27 -0400 (EDT)


Johnny Hughes said:
>> Just installed whitebox-release 3.0-5_i386.i386 and it's still missing
>> the /etc/redhat-release. Maybe you need one more final last spin? :)
[snip] 
>> 
> 
> Besides changing redhat-release to whitebox-release in every spec file
> ... what is the work around for this when compiling SRPMS?

It really depends on what your source RPM is looking for.  In the example of rhn-applet, it looks for what package "provides" redhat-release, so just having whitebox-release provide it will work.  Some things look for the file /etc/redhat-release, which generally can be worked around by making it a link to /etc/whitebox-release.

The programs that have the most problem are things that actually read the contents of /etc/redhat-release.  And example would be webmin.  In that case it is best to get upstream to recognize Whitebox's string and treat it the same as RHEL is treated.

-- 
William Hooper