[packages/elficon] use currently built tools when attaching resources

glen glen at pld-linux.org
Sat Mar 21 16:15:40 CET 2015


commit 761bc9e4cb68b4082846b5ca4e2958f1670f5747
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 21 17:15:30 2015 +0200

    use currently built tools when attaching resources

 elficon.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/elficon.spec b/elficon.spec
index e989922..190e519 100644
--- a/elficon.spec
+++ b/elficon.spec
@@ -124,10 +124,11 @@ rm -rf $RPM_BUILD_ROOT
 ln -s elfres $RPM_BUILD_ROOT%{_bindir}/elficon
 
 %if 0
+ln -sf elfres/src/.libs/elfres elficon \
 # disabed, as it segfaults
 top_srcdir=$(pwd) \
-ELFRES=$RPM_BUILD_ROOT%{_bindir}/elfres \
-ELFICON=$RPM_BUILD_ROOT%{_bindir}/elficon \
+ELFRES=./elfres/src/.libs/elfres \
+ELFICON=./elficon \
 sh -x elfres/src/set-resources.sh $RPM_BUILD_ROOT%{_bindir}/elfres
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elficon.git/commitdiff/761bc9e4cb68b4082846b5ca4e2958f1670f5747



More information about the pld-cvs-commit mailing list