compiling libsmbios

Michael E Brown Michael_E_Brown at dell.com
Thu Mar 15 14:47:15 CST 2007


On Thu, Mar 15, 2007 at 05:08:00PM -0300, Gonzalo Nemmi wrote:
> El Jueves, 15 de Marzo de 2007 16:28, Michael E Brown escribió:
> > I changed over to use autotools very recently and havent updated the
> > makefiles to produce the docs yet.
> 
> so I read somewhere ..  I just didn't know if that was on the todo or not .. 
> and I refused to dive in the makefile as usual ;)

I am working on it right now. Only one small annoyance left. Will be in 0.13.5
when I release it.

>  
> > > I've read the spec .. but your not pulling any dark magic in there (
> > > except for the unusual chmodding under %setup, and make ifs which
> > > wouldn't exist if configure could take a few parameters ;) .. ) ... so ..
> > > i couldn't figure out how to do it :( .
> > >
> > > trying to build a mandriva package in here ;)
> >
> > Any reason we couldnt just use my standard spec file?
> 
> Not really .. but ..
> 
> * it does keep a simpler spec file, which is usually good since packager 
> change .. and the rpm changelogs are not always the best ... 

My spec is already pretty simple. It currently supports Fedora 6+, RHEL 3+,
and SLES 9+. Since I'm now officially in Fedora, I've committed to keeping
the changelog up-to-date.

> * and goes easy on the packager, which makes it alluring to new packagers ..

What could be easier than using what already should work?

> * You know your code inside out .. a packager doesn't ( he may not even know 
> how to code at all ... )

Ok.

> * some distro specific macros might get in the way (a %make macro for 
> instances .. ) .. and hit quite hard on the packager

Possible, but I dont use many macros as it is, and the ones I do use are
standard RPM macros.

> * is usually a good rule of thumb to let each app do it's job .. and .. 
> altough a spec file can handle quite a few tricks, ii usually shoulnd't .. 
> like aplying diffs (just to name an example) .. yes, you can do it, no 
> problem ... but it's not like a spec file  is meant to do that .. 

I would hope that we dont have diffs on the codebase between the distros.
Libsmbios should compile out of the box on just about any distro.

> All in all .. a spec file has it's own anoyannces .. adding an extra layer of 
> complexity to it is just .. well .. sorta like adding an extra layer of 
> complexity into something that's already complex =P  

There shouldnt be any new layers here. The spec is already pretty generic.

> just my point of view .. hope you don't take it wrong beacuse I never meant 
> to :)

No offense taken. There are tons of linux distros, though, and I wanted to
try to keep them as close to common as possible. If it isnt possible, then
I am willing to concede, but in the interest of uniformity, I would at least
like to know what the required changes are.
--
Michael




More information about the libsmbios-devel mailing list