On Mon, Sep 08, 2003 at 11:11:31PM -0600, dann wrote:
> On Fri, Sep 05, 2003 at 02:49:48PM -0600, Jerry G. DeLapp wrote:
> > As I was working on getting 3.1.5 to compile on rh8, I ran into a couple of 
> > hidden dependencies.  In particular, I had to install readline-devel and 
> > e2fsprogs-devel in order to get parted and e2fsprogs to compile.  Would it be 
> > appropriate to add those as buildrequires to the .spec file?  I'm not sure 
> > how that sort of change might effect distros other than redhat.
> 
> can you make the build-deps redhat specific by wrapping them in a macro 
> or something?  that way if they aren't the same on other rpm based distros,
> it doesn't stop people from starting a build.

Dann, I think the rpms needed for SystemImager build are sufficiently
general in name, that all distros name them the same.  For instance,
readline-devel is the same on MDK, SuSE, and RH.

Otoh, I've rarely seen .src.rpm file that have the right build deps, so I
think SystemImager's lack of them isn't horible, though it would be nice to
change them.

And on yet a third hand, one can always install a .src.rpm with --nodeps,
and then modify the specfile manually to change builddeps if they are
broken on your platform.

Or people can just use the binary rpm, which is why it is there. :)  

        -Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to