[mate-panel/f17] add ugly hack for panel-default-setup.entries
Dan Mashal
vicodan at fedoraproject.org
Sun Oct 7 09:30:10 UTC 2012
commit 483c6f3b7f9935c6b4fc16ca84dcd84288ac15f1
Author: dmashal <dan.mashal at fedoraproject.org>
Date: Sun Oct 7 02:29:53 2012 -0700
add ugly hack for panel-default-setup.entries
mate-panel.spec | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/mate-panel.spec b/mate-panel.spec
index 24ade8b..4f66ea0 100644
--- a/mate-panel.spec
+++ b/mate-panel.spec
@@ -2,7 +2,7 @@
Name: mate-panel
Version: 1.4.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: MATE Desktop panel applets
#libs are LGPLv2+ applications GPLv2+
License: LGPLv2+ and GPLv2+
@@ -48,6 +48,15 @@ make %{?_smp_mflags} V=1
%install
export MATECONF_DISABLE_MAKE_FILE_SCHEMA INSTALL=1
make LIBTOOL="/usr/bin/libtool" DESTDIR=%{buildroot} install
+
+# ugly hack... we need this fixed!
+if [ -f %{buildroot}%{_sysconfdir}/mateconf/schemas/panel-default-setup.entries ]; then
+ mkdir -p %{buildroot}%{_datadir}/mateconf/schemas/
+ mv %{buildroot}%{_sysconfdir}/mateconf/schemas/panel-default-setup.entries \
+ %{buildroot}%{_datadir}/mateconf/schemas/panel-default-setup.entries
+fi
+
+
%find_lang %{name}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
find %{buildroot} -name '*.a' -exec rm -f {} ';'
@@ -117,7 +126,7 @@ update-desktop-database &> /dev/null || :
%{_sysconfdir}/mateconf/schemas/clock.schemas
%{_sysconfdir}/mateconf/schemas/fish.schemas
%{_sysconfdir}/mateconf/schemas/panel-compatibility.schemas
-%{_sysconfdir}/mateconf/schemas/panel-default-setup.entries
+%{_datadir}/mateconf/schemas/panel-default-setup.entries
%{_sysconfdir}/mateconf/schemas/panel-general.schemas
%{_sysconfdir}/mateconf/schemas/panel-global.schemas
%{_sysconfdir}/mateconf/schemas/panel-object.schemas
@@ -164,6 +173,9 @@ update-desktop-database &> /dev/null || :
%{_datadir}/gtk-doc/html/mate-panel-applet/
%changelog
+* Sun Oct 07 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-8
+- Add ugly hack for panel-default-setup.entries
+
* Sat Oct 06 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-7
- Add enable-introspection and --with-x to configure flags
- Update desktop-file-install macro
More information about the scm-commits
mailing list