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

Re: 1.36 again

On Fri, Feb 25, 2005 at 11:27:14AM -0700, Andreas Dilger wrote:
> At one time I created a "make rpm" target for e2fsprogs:
> e2fsprogs/Makefile.in:
> +rpm:
> +	sh contrib/build-rpm
Makefile targets like these are useful for developers who are mucking
around in a development tree, and just want a package of their current
tree; the kernel targets are great for that.  End-users should prefer
that the tarball contain a working distro-neutral spec file, so that
they can just invoke rpmbuild:

	rpmbuild -ta e2fsprogs-1.36.tar.gz

Unfortunately, naming conventions and macros differ just enought between
the various RPM-based distros that plenty of packages have instead a
foo.spec.in. In e2fsprogs-1.36, the only configure macro is the version
number, @E2FSPROGS_VERSION   :-(  IMHO, one should ship a .spec file with
the correct version number, or at least a macro conditional that allows
the user to do the following:

	rpmbuild -ta --define 'version 1.36' e2fsprogs-1.36.tar.gz


	Bill Rugolsky

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