[synfigstudio] remove all files but xml from mime/packages

Luya Tshimbalanga luya at fedoraproject.org
Tue May 29 18:50:16 UTC 2012


commit b636aa6ef2a0b71fb18eac9cc36cbe8fe2604d14
Author: Luya Tshimbalanga <luya at fedoraproject.org>
Date:   Tue May 29 11:49:59 2012 -0700

    remove all files but xml from mime/packages

 synfigstudio.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/synfigstudio.spec b/synfigstudio.spec
index 4ed3c83..1d44e0e 100644
--- a/synfigstudio.spec
+++ b/synfigstudio.spec
@@ -1,6 +1,6 @@
 Name:           synfigstudio
 Version:        0.63.05
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Vector-based 2D animation studio
 
 Group:          Applications/Multimedia
@@ -60,6 +60,8 @@ desktop-file-install --vendor="fedora"                          \
         --delete-original                                       \
         --dir=$RPM_BUILD_ROOT%{_datadir}/applications           \
         $RPM_BUILD_ROOT/%{_datadir}/applications/synfigstudio.desktop
+# Remove all but xml files
+rm -rf $RPM_BUILD_ROOT%{_datadir}/mime/{globs,magic,XMLnamespaces,aliases,subclasses,mime.cache}
 
 
 %clean
@@ -104,6 +106,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 
 
 %changelog
+* Tue May 29 2012 Luya Tshimbalanga <luya at fedoraproject.org> - 0.63.05-3
+- Really remove all but xml file (rhbz#821740)
+
 * Mon May 21 2012 Luya Tshimbalanga <luya at fedoraproject.org> - 0.63.05-2
 - Fix mime.cache issue (rhbz#821740)
 


More information about the scm-commits mailing list