[gxine/f15] Hopefully fix directory ownership problems.

Martin Sourada mso at fedoraproject.org
Fri Mar 2 20:25:26 UTC 2012


commit 3e53e859029c3aa15a48cf7ac2167a2b8b370ddf
Author: Martin Sourada <mso at fedoraproject.org>
Date:   Fri Mar 2 21:16:06 2012 +0100

    Hopefully fix directory ownership problems.

 gxine.spec |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/gxine.spec b/gxine.spec
index 80f20f7..903a79e 100644
--- a/gxine.spec
+++ b/gxine.spec
@@ -1,6 +1,6 @@
 Name:           gxine
 Version:        0.5.907
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        GTK frontend for the xine multimedia library
 
 Group:          Applications/Multimedia
@@ -43,12 +43,16 @@ gxine is a gtk based gui for this xine-library alternate to xine-ui.
 Summary:  Mozilla plugin for gxine
 Group:    Applications/Internet
 Requires: %{name} = %{version}-%{release}
+# RHEL does not seem to have mozille-filesystem
+%if 0%{?fedora}
 Requires: mozilla-filesystem
+%endif
 
 %description mozplugin
 This plugin allows gxine to be embedded in a web browser.
 
 %prep
+
 %setup -q
 
 %patch1 -p1 -b .non-separate-toolbar
@@ -58,9 +62,6 @@ This plugin allows gxine to be embedded in a web browser.
 
 %{__sed} -i 's/Name=gxine/Name=GXine/' gxine.desktop.in
 
-# I'm not sure why we have different name for it in Fedora but it is
-# javascript from mozilla... So patching configure to detect it.
-
 %build
 
 
@@ -122,9 +123,17 @@ touch --no-create %{_datadir}/icons/hicolor || :
 %files mozplugin
 %defattr(-,root,root,-)
 %doc COPYING
+# RHEL does not seem to have mozilla-filesystem package
+%if 0%{?rhel}
+%dir %{_libdir}/mozilla/plugins
+%endif
 %{_libdir}/mozilla/plugins/gxineplugin.so
 
 %changelog
+* Fri Mar 02 2012 Martin Sourada <mso at fedoraproject.org> - 0.5.907-4
+- Fix directories ownership -- on EPEL own 
+   %%{_libdir}/mozilla/plugins, on Fedora require mozilla-filesystem
+
 * Fri Mar 02 2012 Martin Sourada <mso at fedoraproject.org> - 0.5.907-3
 - Fix build on EPEL, switch to gecko-devel
 


More information about the scm-commits mailing list