X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82b0b7f6330c8c435e5933e25bb373ad89345476..00a5e5a90555ab800419265a487d325ee80bfaaa:/wxMotif.spec?ds=sidebyside diff --git a/wxMotif.spec b/wxMotif.spec index d96d235eb6..ec8b0fb890 100644 --- a/wxMotif.spec +++ b/wxMotif.spec @@ -220,7 +220,7 @@ wx/dbtable.h EOF # --- wxBase headers list ends here --- for f in `cat wxbase-headers-list` ; do - rm -f $RPM_BUILD_ROOT%{_includedir}/$f + rm -f $RPM_BUILD_ROOT%{_includedir}/wx-*/$f done # list of all core headers: @@ -247,22 +247,6 @@ rm -rf $RPM_BUILD_ROOT %postun gl /sbin/ldconfig -%post devel -# Install wx-config if there isn't any -if test ! -f %{_bindir}/wx-config ; then - ln -sf %{wxconfigname} %{_bindir}/wx-config -fi - -%preun devel -# Remove wx-config if it points to this package -if test -f %{_bindir}/wx-config -a -f /usr/bin/md5sum ; then - SUM1=`md5sum %{_bindir}/%{wxconfigname} | cut -c 0-32` - SUM2=`md5sum %{_bindir}/wx-config | cut -c 0-32` - if test "x$SUM1" = "x$SUM2" ; then - rm -f %{_bindir}/wx-config - fi -fi - %files %defattr(-,root,root)