Re: Where to put spec files...



On 19 Jan 2002, Gregory Leblanc wrote:
>
> I've been thinking about this, and I think that I'd like to move the
> .spec files, and debian/ dirs, and Solaris/slackware packaging stuff out
> of the main directory for -all- modules.  Since 99% of the time, the
> people maintaining the code aren't the same people maintaining the .spec
> files, it doesn't really belong "in with the code".  Having it in the
> top directory, named only for the package name is somewhat unfriendly to
> SuSE and other RPM based distributions.  So, the solution that I think
> will probably work best, is to create a subdirectory called "packaging/"
> (suggestions on the name most welcome!).  Inside of this directory, we
> can put, for example, redhat-gnome-core.spec.in,
> suse-gnome-core.spec.in, debian/, and whatever else we might need, for
> any other Solaris/Slackware/Irix/other packages.  Thoughts?

I like the idea. Especially the splitting into distribution specific
*.spec files. I did some work on adapting Redhat *.spec files for SuSE.
Most of the time there are only minor changes needed, so it may be
possible to write a script for RedHat -> SuSE transition.

Just one note: Do we want to include a spec file in the tarball to let
people do a rpm -tb foo.tar.gz? Or should we just point them to srpms?

Regards,

   Jens

-- 
"Wer die Freiheit aufgibt, um Sicherheit zu gewinnen, wird am Ende beides
verlieren." -- Benjamin Franklin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]