Changeset 1129


Ignore:
Timestamp:
Mar 10, 2013, 11:18:22 PM (12 years ago)
Author:
Dmitry A. Kuminov
Message:

packaging: Fix removal of .sym from bin/ and a typo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packaging/qt4.spec

    r1097 r1129  
    729729    "%{buildroot}/%{pkg_docdir}/"
    730730
    731 # remove *.dll from bin (they will live in %{qt_libdir})
    732 rm -f "%{buildroot}/%{qt_bindir}/*.dll" "%{buildroot}/%{qt_bindir}/*.sym"
     731# remove *.dll from bin (they also live in %{qt_libdir})
     732dlls=$(find "%{buildroot}/%{qt_bindir}/" -type f -name *.dll)
     733rm -f $dlls ${dlls%.*}.sym
    733734
    734735# remove translations we don't need
     
    750751for f in $(cd "%{buildroot}" && find -type f -name "*.sym"); do
    751752    fd="${f%/*}"/
    752     [ "$fp" = "$f/" ] && fd=
     753    [ "$fd" = "$f/" ] && fd=
    753754    [ -d "%{buildroot}.sym/$fd" ] || mkdir -p "%{buildroot}.sym/$fd"
    754755    mv "%{buildroot}/$f" "%{buildroot}.sym/$fd"
Note: See TracChangeset for help on using the changeset viewer.