[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XForms] New pre-release xforms-1.0.94pre28
From: |
Jens Thoms Toerring |
Subject: |
Re: [XForms] New pre-release xforms-1.0.94pre28 |
Date: |
Tue, 10 Dec 2013 00:36:35 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Russ,
On Mon, Dec 09, 2013 at 06:13:52PM -0500, R P Herrold wrote:
> one other ting -- the .specfile template has a fixed /lib path
> rather than the more recent %_libdir approach
>
> Could you also please apply this sed, or make the edits
> manually?
>
> address@hidden xforms]$ sed -i -e 's#/lib$#%{_libdir}#g' \
> xforms.spec.in
> address@hidden xforms]$ diff -u xforms.spec.in-ORIG xforms.spec.in
> --- xforms.spec.in-ORIG 2013-12-09 18:08:02.000000000 -0500
> +++ xforms.spec.in 2013-12-09 18:09:41.000000000 -0500
> @@ -68,7 +68,7 @@
> #
> # 1. Create a list of files that require symbolic links.
> #
> -lib_prefix=${RPM_INSTALL_PREFIX}/lib
> +lib_prefix=${RPM_INSTALL_PREFIX}%{_libdir}
> sofiles=""
> for file in \
> "${lib_prefix}/libforms.so"* \
> @@ -105,7 +105,7 @@
> #
> # Remove symbolic links libforms.so, libforms.so.1, etc
> #
> -lib_prefix=${RPM_INSTALL_PREFIX}/lib
> +lib_prefix=${RPM_INSTALL_PREFIX}%{_libdir}
> for file in \
> "${lib_prefix}/libforms.so"* \
> "${lib_prefix}/libformsGL.so"* \
> address@hidden xforms]$
Applied. That's one of the things I hardly dare to touch
since I never got the hang of what this .spec file is
supposed to be good for (probably didn't found the proper
documentation). It you have any proposals on how it can be
improved I'd be grateful for anything you can teach me!
Best regards, Jens
--
\ Jens Thoms Toerring ________ address@hidden
\_______________________________ http://toerring.de