[packages/jquery] drop mapping, as map is not packaged

glen glen at pld-linux.org
Thu Sep 12 15:59:59 CEST 2013


commit b2627a0595aea53347f98a51ed56e630903d01cf
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Sep 12 16:59:07 2013 +0300

    drop mapping, as map is not packaged

 jquery.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/jquery.spec b/jquery.spec
index 9a89eac..5891968 100644
--- a/jquery.spec
+++ b/jquery.spec
@@ -8,7 +8,7 @@ Summary:	jQuery JavaScript Library
 Summary(pl.UTF-8):	Biblioteka JavaScriptu jQuery
 Name:		jquery
 Version:	1.9.1
-Release:	2
+Release:	3
 License:	MIT
 Group:		Applications/WWW
 Source0:	http://code.jquery.com/%{name}-%{version}.min.js
@@ -65,6 +65,8 @@ cp -p %{SOURCE0} jquery.min.js
 cp -p %{SOURCE10} jquery.src.js
 %undos -f js
 
+%{__sed} -i -e '/@ sourceMappingURL/d' jquery.min.js
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_appdir}/plugins
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jquery.git/commitdiff/b2627a0595aea53347f98a51ed56e630903d01cf



More information about the pld-cvs-commit mailing list