[mypaint] - Move more files over to mypaint-data package to save more space on mirrors - Make sure scriptlets

Christoph Wickert cwickert at fedoraproject.org
Tue Aug 13 04:31:46 UTC 2013


commit d486eaa9bfe05767066225ea3bf45a722508f2a2
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Tue Aug 13 06:31:03 2013 +0200

    - Move more files over to mypaint-data package to save more space on mirrors
    - Make sure scriptlets are called for the right subpackage

 mypaint.spec |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/mypaint.spec b/mypaint.spec
index 9111022..44d2cc3 100644
--- a/mypaint.spec
+++ b/mypaint.spec
@@ -116,12 +116,12 @@ chmod 755 %{buildroot}%{_libdir}/mypaint/_mypaintlib.so
 rm -rf %{buildroot}
 
 
-%post
+%post data
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 update-desktop-database &> /dev/null || :
 
 
-%postun
+%postun data
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
@@ -129,7 +129,7 @@ fi
 update-desktop-database &> /dev/null || :
 
 
-%posttrans
+%posttrans data
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
@@ -139,18 +139,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_bindir}/%{name}
 %dir %{_libdir}/mypaint/
 %{_libdir}/mypaint/_mypaintlib.so
-%dir %{_datadir}/%{name}/
-%{_datadir}/%{name}/brushlib
-%{_datadir}/%{name}/gui
-%{_datadir}/%{name}/lib
-
 
 %files data
 %defattr(-,root,root,-)
-%{_datadir}/%{name}/backgrounds
-%{_datadir}/%{name}/brushes
-%{_datadir}/%{name}/palettes
-%{_datadir}/%{name}/pixmaps
+%dir %{_datadir}/%{name}/
 %if 0%{?fedora} && 0%{?fedora} < 19
 %{_datadir}/applications/fedora-%{name}.desktop
 %else
@@ -170,6 +162,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 - Update to 1.1.0 (#891044)
 - New devel package to develop brushlibs
 - Add patch to make mypaint honor compiler flags
+- Move more files over to mypaint-data package to save more space on mirrors
+- Make sure scriptlets are called for the right subpackage
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list