]> git.saurik.com Git - wxWidgets.git/commitdiff
remove wxBase files to get rid of RPM's complains about unpackaged files
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 6 Oct 2003 19:12:12 +0000 (19:12 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 6 Oct 2003 19:12:12 +0000 (19:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxGTK.spec
wxMotif.spec
wxX11.spec

index b77c258c824077629fcdab3a5a306388c7be069e..7f5893a8a1d26f7bb10af2e6102181cfc7ad0d75 100644 (file)
@@ -296,6 +296,11 @@ find $RPM_BUILD_ROOT/usr/include/wx -type f | sed -e "s,$RPM_BUILD_ROOT,,g" >cor
 (cd obj-shared/contrib/src; make prefix=$RPM_BUILD_ROOT%{pref} install)
 (cd obj-shared/contrib/utils/wxrc; make prefix=$RPM_BUILD_ROOT%{pref} install)
 
+# remove wxBase files so that RPM doesn't complain about unpackaged files:
+rm -f $RPM_BUILD_ROOT%{_libdir}/libwx_base*
+rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/*
+rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*/*/*
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
index 4e30e050dac7c778dede9dea143cd1f6dfecc8ec..59ad0d2ba5c0ca9e57609d53d5f0400b822da3e8 100644 (file)
@@ -226,6 +226,11 @@ done
 # list of all core headers:
 find $RPM_BUILD_ROOT/usr/include/wx -type f | sed -e "s,$RPM_BUILD_ROOT,,g" >core-headers.files
 
+# remove wxBase files so that RPM doesn't complain about unpackaged files:
+rm -f $RPM_BUILD_ROOT%{_libdir}/libwx_base*
+rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/*
+rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*/*/*
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
index 36076837faf20921f1eca4a9cd298ee9ab89b33b..c54305444c05e8e39a75996dd9f95f5f099a8dcf 100644 (file)
@@ -277,6 +277,11 @@ find $RPM_BUILD_ROOT/usr/include/wx -type f | sed -e "s,$RPM_BUILD_ROOT,,g" >cor
 (cd obj-shared/contrib/src; make prefix=$RPM_BUILD_ROOT%{pref} install)
 (cd obj-shared/contrib/utils/wxrc; make prefix=$RPM_BUILD_ROOT%{pref} install)
 
+# remove wxBase files so that RPM doesn't complain about unpackaged files:
+rm -f $RPM_BUILD_ROOT%{_libdir}/libwx_base*
+rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/*
+rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*/*/*
+
 %clean
 rm -rf $RPM_BUILD_ROOT