xforms-development
[Top][All Lists]
Advanced

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

Re: [XForms] New pre-release xforms-1.0.94pre28


From: R P Herrold
Subject: Re: [XForms] New pre-release xforms-1.0.94pre28
Date: Mon, 9 Dec 2013 18:13:52 -0500 (EST)
User-agent: Alpine 2.03 (LRH 1266 2009-07-14)

On Mon, 9 Dec 2013, 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]$

Thank you

-- Russ herrold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]