rpms/openlayers/devel openlayers.spec,1.5,1.6
Mathieu Bridon
bochecha at fedoraproject.org
Sat Sep 19 16:01:23 UTC 2009
- Previous message (by thread): rpms/xapian-core/devel .cvsignore, 1.14, 1.15 sources, 1.14, 1.15 xapian-core.spec, 1.26, 1.27 xapian-core-1.0.9-includes.patch, 1.1, NONE
- Next message (by thread): rpms/xapian-bindings/devel .cvsignore, 1.12, 1.13 sources, 1.13, 1.14 xapian-bindings.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bochecha
Update of /cvs/pkgs/rpms/openlayers/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29598
Modified Files:
openlayers.spec
Log Message:
Do not use the minimize tool to compress the JavaScript code, as it produces an invalid output.
This is temporary while upstream bug 2275 is fixed:
http://trac.openlayers.org/ticket/2275
Index: openlayers.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openlayers/devel/openlayers.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- openlayers.spec 13 Sep 2009 12:37:41 -0000 1.5
+++ openlayers.spec 19 Sep 2009 16:01:23 -0000 1.6
@@ -1,6 +1,6 @@
Name: openlayers
Version: 2.8
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A JavaScript library for displaying map data in web browsers
Group: Applications/Publishing
License: BSD
@@ -81,6 +81,10 @@ sed -i -e 's|\r||g' tools/exampleparser.
# fix shebag
find . -type f -exec sed -i -e 's/\#\!\/usr\/bin\/env python/\#\!\/usr\/bin\/python/' '{}' +
+# remove the minimize tool so that it is not used until upstream bug is fixed:
+# http://trac.openlayers.org/ticket/2275
+rm tools/minimize.py
+
%build
pushd build
@@ -104,12 +108,14 @@ cp -rp tests %{buildroot}%{_datadir}/%{n
install -d %{buildroot}%{_datadir}/%{name}/tools/
install -p tools/BeautifulSoup.py %{buildroot}%{_datadir}/%{name}/tools/
install -p tools/mergejs.py %{buildroot}%{_datadir}/%{name}/tools/
-install -p tools/minimize.py %{buildroot}%{_datadir}/%{name}/tools/
+# don't install the minimize tool as it was removed in prep
+#install -p tools/minimize.py %{buildroot}%{_datadir}/%{name}/tools/
install -p tools/shrinksafe.py %{buildroot}%{_datadir}/%{name}/tools/
install -p tools/toposort.py %{buildroot}%{_datadir}/%{name}/tools/
# fix one python header
sed -i -e '1i\#\!\/usr\/bin\/python' %{buildroot}%{_datadir}/%{name}/tools/BeautifulSoup.py
-sed -i -e '1i\#\!\/usr\/bin\/python' %{buildroot}%{_datadir}/%{name}/tools/minimize.py
+# minimize tool was removed in prep
+#sed -i -e '1i\#\!\/usr\/bin\/python' %{buildroot}%{_datadir}/%{name}/tools/minimize.py
sed -i -e '1i\#\!\/usr\/bin\/python' %{buildroot}%{_datadir}/%{name}/tools/toposort.py
# fix generation of OpenLayer.js
@@ -159,6 +165,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Sep 19 2009 Mathieu Bridon <bochecha at fedoraproject.org> - 2.8-5
+- Don't use the minimize tool as it produces an incorrect JS file
+
* Sun Sep 13 2009 Mathieu Bridon <bochecha at fedoraproject.org> - 2.8-4
- Make a -doc subpackage for the API documentation which makes the main package 75% smaller
- Previous message (by thread): rpms/xapian-core/devel .cvsignore, 1.14, 1.15 sources, 1.14, 1.15 xapian-core.spec, 1.26, 1.27 xapian-core-1.0.9-includes.patch, 1.1, NONE
- Next message (by thread): rpms/xapian-bindings/devel .cvsignore, 1.12, 1.13 sources, 1.13, 1.14 xapian-bindings.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list