[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ha-dev
Subject: Re: [Linux-ha-dev] RFC: pkg/ and port/ directory location
From: Lars Marowsky-Bree <lmb () suse ! de>
Date: 2007-10-24 0:07:26
Message-ID: 20071024000726.GY3777 () marowsky-bree ! de
[Download RAW message or body]
On 2007-10-23T16:06:58, Alan Robertson <alanr@unix.sh> wrote:
> Getting to a single RPM spec file is not a stupid idea. I've taken some
> of the code from your specfile, and some from the CentOS and Fedora
> specfiles and combined them into one specfile.
I we still disagree about the basic part where our build process - which
now includes builds for a significant variety of distributions - starts
with the specfile, I think.
For that to work, the specfile must be free of any configure-generated
stuff, because the specfile itself must be distribution, version, and
architecture agnostic.
This would only work with a "static" specfile, because the specfile
drives the build.
> No doubt it still needs more work, but it's much closer than you might
> think.
That's actually true, now that I look at this again. It's not that far
apart any longer; I think the openSUSE specfile captures a lot more of
the subtleties of the distributions still though.
(At least for Mandriva, Fedora, and SUSE of various versions each.)
The specfile in hg/dev allows a significant flexibility based on
whatever configure substitutes, but I personally am not sure whether
this flexibility is worth it (because I doubt anyone uses it). I'd
probably try to take some of it away with the goal of reducing
complexity and improving clarity.
> I've talked to Kevin Fenzi (the Fedora maintainer), and he seems willing
> to work with me on a common specfile. Unfortunately, he was ill when I
> last contacted him, so we haven't gotten the job done yet - and I'm
> currently out of the country.
It'd be nice if this discussion happened on the -dev list.
> I haven't talked to Johnny Hughes (CentOS maintainer) about this yet,
> because I thought I'd deal with one distro at a time. But, since you
> inquired, I thought I'd at least let you know what's going on.
The problem with specfiles is that you need to talk to everyone, so it
continues to work on all distributions. ;-)
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic