[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote Fri, Feb 17, 2006:
> Hi,

Hi,

> I was trying to build an rpm for the current stable version of elinks for 
> SuSE 10.0 from the downloaded tarball. There were some minor problems, most 
> of which I managed to fix. Here they are, in case you would like to fix them 
> in a later release (I'm sorry I don't quite know how to generate a patch):

The following should do it:

        cd .. # Assuming you've previously cd'ed into the untared source
        mv elinks-0.11.1 elinks-patched
        # untar the tarball
        diff -r elinks-0.11.1 elinks-patches

> 1. In the elinks.spec file, in the %changelog section, at one place Oct is 
>    spelt 0ct (with a zero instead of capital oh). This makes rpmbuild complain
>    about an invalid date.
> 
> 2. Under doc, the html files have been moved to their own directory, so *.html
>    should be replaced by html/*.html.

It looks like Witold has already taken care of these two.

> 3. I assume the specs are for a Fedora like system, and certain -devel 
> packages
>    are listed under dependencies. For some of these, the header files and 
>    libraries are included in the main packages for SuSE, so separate -devel
>    files are not required. Don't know how to fix this in a distro-independent
>    way.

We could probably handle it somehow when generating elinks.spec from
elinks.spec.in but is it really worth it?

> 4. There was some problem with locale.alias. rpmbuild complained that this
>    file was installed but not packaged. I didn't know the proper way to fix
>    this problem, so I just fudged the Makefile to delete locale.alias after
>    generating it.

Often the $prefix/share/locale/locale.alias file will already be there
and elinks.spec doesn't support setting prefix (it seems) so this should
be safe. Probably it can automatically be removed in the %install area.
Witold is the keeper of the elinks.spec file so it's up to him.

-- 
Jonas Fonseca
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to