[mozilla-noscript] require firefox and not mozilla-filesystem on el5

tomspur tomspur at fedoraproject.org
Thu Aug 19 19:22:27 UTC 2010


commit c339cc487408b5f3ec6bfd27c4f08600f2bf5b10
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Thu Aug 19 21:21:53 2010 +0200

    require firefox and not mozilla-filesystem on el5

 mozilla-noscript.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/mozilla-noscript.spec b/mozilla-noscript.spec
index 4012122..5179a52 100644
--- a/mozilla-noscript.spec
+++ b/mozilla-noscript.spec
@@ -9,7 +9,7 @@
 
 Name:           mozilla-noscript
 Version:        2.0.2.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        JavaScript white list extension for Mozilla Firefox
 
 Group:          Applications/Internet
@@ -22,7 +22,11 @@ Patch0:         noscript-preferences.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  dos2unix
+%if 0%{?rhel} == 5
+Requires:       firefox
+%else
 Requires:       mozilla-filesystem
+%endif
 BuildArch:      noarch
 
 
@@ -67,6 +71,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Aug 19 2010 Thomas Spura <tomspur at fedoraproject.org> - 2.0.2.1-2
+- require firefox and not mozilla-filesystem on el5
+
 * Wed Aug 18 2010 Thomas Spura <tomspur at fedoraproject.org> - 2.0.2.1-1
 - update to new version
 


More information about the scm-commits mailing list