[pyjamas/el5/master] Disable desktop package in el5. We don't have new enough packages to use it
Kevin Fenzi
kevin at fedoraproject.org
Sun Sep 12 22:44:27 UTC 2010
commit b2b7a49f1b100538c42d3bf9ff98bc14c3aabbcf
Author: Kevin Fenzi <kevin at tummy.com>
Date: Sun Sep 12 16:44:16 2010 -0600
Disable desktop package in el5. We don't have new enough packages to use it
pyjamas.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/pyjamas.spec b/pyjamas.spec
index 70ff110..e4cfb34 100644
--- a/pyjamas.spec
+++ b/pyjamas.spec
@@ -7,7 +7,7 @@
Name: pyjamas
Version: 0.7
-Release: 6%{?dist}
+Release: 8%{?dist}
Summary: A python to Javascript compiler, Widget set, Framework and Toolkit
Group: Development/Languages
@@ -32,6 +32,7 @@ runs on Web browsers. The developer need not know
anything about AJAX: all the AJAX tricks, for all major
browsers, are entirely taken care of.
+%if 0%{?rhel} != 5
%package desktop
Summary: Desktop version of pyjamas
Group: Development/Languages
@@ -47,6 +48,7 @@ The Desktop version of Pyjamas takes the original Python application
and executes it directly, through the standard Python Interpreter,
unmodified. The Pyjamas Infrastructure then uses XULRunner as
the Browser Engine, to render the application's widgets.
+%endif
%package ui
Summary: User interface widgets for pyjamas
@@ -112,6 +114,12 @@ cp -a doc $RPM_BUILD_ROOT/%{_datadir}/pyjamas/doc
# byte-compile the library .py files only.
( RPM_BUILD_ROOT=$RPM_BUILD_ROOT/%{python_sitelib}/; export RPM_BUILD_ROOT; /usr/lib/rpm/brp-python-bytecompile %{__python} )
+
+%if 0%{?rhel} != 5
+# remove the desktop package for EPEL5. We don't have new enough deps to use it.
+rm -rf %{python_sitelib}/pyjd
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -127,9 +135,11 @@ rm -rf $RPM_BUILD_ROOT
%exclude %{_datadir}/pyjamas/library/pyjamas/ui
%exclude %{python_sitelib}/pyjd
+%if 0%{?rhel} != 5
%files desktop
%defattr(-,root,root,-)
%{python_sitelib}/pyjd
+%endif
%files ui
%defattr(-,root,root,-)
@@ -144,6 +154,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pyjamas/doc
%changelog
+* Sun Sep 12 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-8
+- Disable desktop package in el5. We don't have new enough packages to use it.
+
* Fri Jun 04 2010 Kevin Fenzi <kevin at tummy.com> - 0.7-7
- Remove egginfo, el5 doesn't have it.
More information about the scm-commits
mailing list