[openlayers] update to latest upstream release

Sven Lankes slankes at fedoraproject.org
Sun Jan 22 12:43:38 UTC 2012


commit 94479101c5bb47b68e86eddc8f7d36cc961eec09
Author: Sven Lankes <sven at lank.es>
Date:   Sun Jan 22 13:43:34 2012 +0100

    update to latest upstream release

 .gitignore      |    1 +
 openlayers.spec |   28 +++++++++++-----------------
 sources         |    2 +-
 3 files changed, 13 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 474c9a8..1e13772 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 OpenLayers-2.9.1-mod.tar.gz
+/OpenLayers-2.11-mod.tar.gz
diff --git a/openlayers.spec b/openlayers.spec
index c775742..b5e5ab1 100644
--- a/openlayers.spec
+++ b/openlayers.spec
@@ -1,6 +1,6 @@
 Name:      openlayers
-Version:   2.9.1
-Release:   5%{?dist}
+Version:   2.11
+Release:   1%{?dist}
 Summary:   A JavaScript library for displaying map data in web browsers
 Group:     Applications/Publishing
 License:   BSD
@@ -15,17 +15,14 @@ Source0:   OpenLayers-%{version}-mod.tar.gz
 Source1:   openlayers.conf
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
-
 BuildRequires: python
-
-Requires:   httpd
+Requires:  httpd
 
 
 %package doc
-Summary:    API documentation for %{name}
-
-Group:      Documentation
-Requires:   %{name} = %{version}-%{release}
+Summary:   API documentation for %{name}
+Group:     Documentation
+Requires:  %{name} = %{version}-%{release}
 
 
 %description
@@ -67,18 +64,12 @@ done
 set -x
 
 # fix spurious perms
-find . -type f -name *.js -exec chmod -x '{}' \;
-find . -type f -name *.jpg -exec chmod -x '{}' \;
 find . -type f -name *.png -exec chmod -x '{}' \;
-find . -type f -name *.css -exec chmod -x '{}' \;
 find . -type f -name *.html -exec chmod -x '{}' \;
 chmod -x tools/exampleparser.py
 chmod -x examples/proxy.cgi
 
-# fix CLRF file
-sed -i -e 's|\r||g' tools/exampleparser.py
-
-# fix shebag
+# fix shebang
 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:
@@ -147,7 +138,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
-%doc news.txt readme.txt release-license.txt repository-license.txt
+%doc readme.txt release-license.txt repository-license.txt
 %doc tools/README.txt build/license.txt tools/exampleparser.py
 %dir %{_sysconfdir}/%{name}
 %attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/*.cfg
@@ -165,6 +156,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Jan 22 2012 Sven Lankes <sven at lank.es> - 2.11-1
+- update to latest upstream release
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 3b3d330..343129e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-07194dd5fc1b828a92d8889272938e0e  OpenLayers-2.9.1-mod.tar.gz
+ad902bd97823804d6bcb70bc343229ad  OpenLayers-2.11-mod.tar.gz


More information about the scm-commits mailing list