[Kolab-devel] Separating sources from OpenPKG packaging

Thomas Spuhler thomas at btspuhler.com
Wed Dec 9 05:16:55 CET 2009


On Tuesday 08 December 2009 03:15:29 pm Gunnar Wrobel wrote:
> Hi!
>
> A long standing issue of the Kolab server has been the fact that
> source code packaging (*.tar.gz) was kept together with the necessary
> build machinery for the final OpenPKG RPM. This has been a larger
> problem for building native RPMs but also led to some interesting
> hacks and a degradation of code quality.
>
> This has been largely resolved in the past years and we are left with
> three packages where this kind of organization is still present:
>
>   - perl-kolab
>   - kolabd
>   - kolab-webadmin
>
> It would be good to separate source code packaging from RPM building
> for the Kolab Server 2.3 version.
>
> All I need in order to do this soon (once we released 2.2.3) would be
> a decision how the structure should look like. I would propose to add
> a new directory "src" in our "server" CVS module. So we would have
>
>   - server/src/perl-kolab
>   - server/src/kolabd
>   - server/src/kolab-webadmin
>
> These would be used to provide *.tar.gz packages that can be uploaded
> to files.kolab.org.
>
> We'd keep the old
>
>   - server/perl-kolab
>   - server/kolabd
>   - server/kolab-webadmin
>
> but they'd just contain the OpenPKG RPM build machinery.
>
> In principle I don't consider this a big deal and would just do it
> this way but I thought I'd ask to make sure nobody disagrees.
>
> Cheers,
>
> Gunnar

I like this idea. This would make building the Mandriva native packages 
easier.
-- 
Thomas




More information about the devel mailing list