[gxine/el6] Hopefully fix directory ownership problems.

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


commit c31cb5dc3bb96952285e76162c14d962b8356cb5
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 335cfbc..c235aae 100644
--- a/gxine.spec
+++ b/gxine.spec
@@ -1,7 +1,7 @@
 
 Name:           gxine
 Version:        0.5.907
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        GTK frontend for the xine multimedia library
 
 Group:          Applications/Multimedia
@@ -44,12 +44,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
@@ -59,9 +63,6 @@ This plugin allows gxine to be embedded in a web browser.
 
 %{__sed} -i 's/Name=gxine/Name=GXine Video Player/' 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
 
 
@@ -123,9 +124,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