Re: Creating .spec files
- From: "Michael A. Peters" <mpeters mac com>
- To: Christian Lohmaier <cloph cup uni-muenchen de>
- Cc: gnome-packaging <gnome-packaging-list gnome org>
- Subject: Re: Creating .spec files
- Date: Tue, 09 Dec 2003 17:30:08 -0800
On Tue, 2003-12-09 at 13:19, Christian Lohmaier wrote:
> And "manually create" - does this mean you had to create the list before
> you could build successful?
> Then this is not an option.
> Setting up the rpm-environment (~/.rpmrc and ~/.rpmmacros) should be the
> only prerequisites. Then a "rpm -ba package.spec" should work out of the
> box.
Yes it should.
The problem is that the find_lang macro doesn't find the language
specific scrollkeeper files.
When rpm gets patched to fix that - then no more manual file will be
needed - but until then, it is not appropriate to use a custom macro.
The reason being - the custom macro will only exist on your system,
preventing the rpm from building on other distro's.
By creating a lang file manually for that (even with a script in your
~/bin directory) - you can include it in the src.rpm and anyone can
build your src.rpm with rpmbuild --rebuild foobar.src.rpm
The scrollkeeper specific language file is included in the src.rpm as a
source - right along with the source tarball and any patches.
Once rpm itself adds that functionality to their find_lang macro - then
you can just require the version of rpm that has it in the BuildRequires
section - so that people with older rpm will at least have a clue as to
why it fails, and not have to hunt for your custom macro.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]