]> git.pld-linux.org Git - packages/wine.git/commitdiff
- much simpler solution for run in correct momet chpach: override/extend
authorkloczek <kloczek@pld-linux.org>
Wed, 12 Dec 2001 03:14:22 +0000 (03:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  %__spec_install_post script.

Changed files:
    wine.spec -> 1.54

wine.spec

index c3fbd97c6617d0b7b34591346f8f35d27a973ccd..aeb22291470002a7fb61ee0678a3a0b4fdc41d52 100644 (file)
--- a/wine.spec
+++ b/wine.spec
@@ -150,17 +150,11 @@ EOF
 
 gzip -9nf README WARRANTY LICENSE DEVELOPERS-HINTS ChangeLog BUGS AUTHORS ANNOUNCE
 
-filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*"`
-elfexelist=`echo $filelist | xargs -r file | awk '/ELF.*executable/ {print $1}' | cut -d: -f1`
-elfsharedlist=`echo $filelist | xargs -r file | awk '/LF.*shared object/ {print $1}' | cut -d: -f1`
-if [ -n "$elfexelist" ]; then 
-       strip --remove-section=.note  --remove-section=.comment $elfexelist
-fi
-if [ -n "$elfsharedlist" ]; then 
-       strip --strip-unneeded --remove-section=.note  --remove-section=.comment $elfsharedlist
-fi
-
-/sbin/chpax -p $RPM_BUILD_ROOT/%{_bindir}/wine
+%__spec_install_post        
+%{__arch_install_post}
+%{__os_install_post}
+chpax -p $RPM_BUILD_ROOT%{_bindir}/wine
+%{nil}
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
This page took 0.175619 seconds and 4 git commands to generate.