From c4fc1def71db27794eaeb67ee45dc2473a752646 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 31 Oct 2017 16:52:36 +0100 Subject: [PATCH] Include standalone /usr/bin/js52 interpreter Polari and gnome-shell are going to make use of it to syntax check js files in CI. This puts it in the -devel subpackage, in line with how Debian is packaging /usr/bin/js52 in their -dev subpackage. --- mozjs52.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mozjs52.spec b/mozjs52.spec index 1e3b62a..a2447fc 100644 --- a/mozjs52.spec +++ b/mozjs52.spec @@ -7,7 +7,7 @@ Name: mozjs%{major} Version: 52.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: SpiderMonkey JavaScript library License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2.1 and LGPLv2.1+ and AFL and ASL 2.0 @@ -123,8 +123,8 @@ popd # Fix permissions chmod -x %{buildroot}%{_libdir}/pkgconfig/*.pc -# We only need the shared library -rm %{buildroot}%{_bindir}/js* +# Remove unneeded files +rm %{buildroot}%{_bindir}/js52-config rm %{buildroot}%{_libdir}/libjs_static.ajs # Rename library and create symlinks, following fix-soname.patch @@ -156,11 +156,15 @@ jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/js/src/shell/js basic %{_libdir}/libmozjs-%{major}.so.0* %files devel +%{_bindir}/js52 %{_libdir}/libmozjs-%{major}.so %{_libdir}/pkgconfig/*.pc %{_includedir}/mozjs-%{major}/ %changelog +* Tue Oct 31 2017 Kalev Lember - 52.4.0-3 +- Include standalone /usr/bin/js52 interpreter + * Tue Oct 31 2017 Kalev Lember - 52.4.0-2 - Various secondary arch fixes