[packages/js-hammer: 2/2] drop sourceMappingURL, the .map is not packaged
glen
glen at pld-linux.org
Mon Oct 5 14:54:38 CEST 2015
commit e99b9ec26d897098e7543dee6ba164cf31f90cb2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Oct 5 15:54:19 2015 +0300
drop sourceMappingURL, the .map is not packaged
js-hammer.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js-hammer.spec b/js-hammer.spec
index f3eafbc..a2d31ec 100644
--- a/js-hammer.spec
+++ b/js-hammer.spec
@@ -28,6 +28,8 @@ Add touch gestures to your page.
%prep
%setup -qn hammer.js-%{version}
+%{__sed} -i -e '/# sourceMappingURL=/d' %{pkgname}.min.js
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_appdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/js-hammer.git/commitdiff/e99b9ec26d897098e7543dee6ba164cf31f90cb2
More information about the pld-cvs-commit
mailing list