[users] x86_64 patch for clearsilver.spec
Dries Verachtert
dries at ulyssis.org
Wed Apr 18 15:25:55 CEST 2007
On Wednesday April 18 2007, Paul Heinlein wrote:
> I'm new to the list. I've been using rpm-based systems since 1997, and
> have rolled my own packages for several years (nothing as broad and
> well tested as rpmforge packages, but workable nonetheless).
>
> I note that there are no x86_64 rpms for clearsilver and related
> packages. The somewhat simplistic patch below gets clearsilver.spec to
> build on CentOS 5 x86_64. All the tests in util/test pass (at least
> they return an exit code of 0), and the rpmforge Trac package works
> properly when installed on top the resulting clearsilver and
> python-clearsilver packages.
>
> What I really wanted to do was append "-fPIC" to %{optflags}, but I
> couldn't figure out how to do that without encountering recursion
> errors.
Hello Paul,
Thanks for letting us know and for writing a patch! But apparently there's a
new clearsilver version and between version 0.10.1 and 0.10.2 the authors
changed the rules.mk* file and now -fPIC is added automatically. I've updated
the spec file and it seems to build on my x86_64 machine.
kind regards,
Dries
More information about the users
mailing list