curl-users
building RPMs
Date: Mon, 8 Jan 2001 11:31:15 +0100 (MET)
Hi
I have committed Loic Dachary's patches to CVS and thus we need to sort a few
things out. This mainly concerns building rpms and since I personally never
do that I feel I need your opinions on this matter. I would also like to
adhere to my policy that curl is package independent and neutral to whatever
package format that may or may not exist on all the different platforms. I
don't want to pollute the root dir of the release archive with various files
used for building <your favourite> release archives.
Please also remember that I need custom release archives getting built, I'm
not at all against that concept. I will gladly include package-specific files
in the release archives in their respective directory.
There's now several RPM builders and ways of bulding RPMs.
* Troy Engel builds all the official curl i386-RPM packages. I've yet to see
someone else building packages with his detail and completeness.
* Paul Marquis builds the official ppc-RPM packages. Paul contributed with
the files in packages/Linux/RPM/, including the make_curl_rpm script. As
far as I've understood it, Paul often based his packages on the .spec files
Troy used.
* Loic Dachary has now provided a means that enables RPMs to get build by a
simple make command. I like the simplicity and the fact that this enables
"anyone" to build RPMs. The current version however uses .spec files that
pollute the root dir which I do not like.
Given our combined brains, could we come up with a way that:
- keep the .spec and .spec.in files in the packages/Linux/RPM/ directory (and
have them somewhat updated automatically by the configure script)
- builds the RPMs the Loic Dachary-style ('make dist rpms')
- generates good RPMs
What do you say?
I'll work on fixing 'maketgz' to build archives that use 'make dist' so that
it'll be up-to-date when releases are made.
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2001-01-08