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.
This commit is contained in:
parent
589dba8116
commit
c4fc1def71
10
mozjs52.spec
10
mozjs52.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: mozjs%{major}
|
Name: mozjs%{major}
|
||||||
Version: 52.4.0
|
Version: 52.4.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: SpiderMonkey JavaScript library
|
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
|
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
|
# Fix permissions
|
||||||
chmod -x %{buildroot}%{_libdir}/pkgconfig/*.pc
|
chmod -x %{buildroot}%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
# We only need the shared library
|
# Remove unneeded files
|
||||||
rm %{buildroot}%{_bindir}/js*
|
rm %{buildroot}%{_bindir}/js52-config
|
||||||
rm %{buildroot}%{_libdir}/libjs_static.ajs
|
rm %{buildroot}%{_libdir}/libjs_static.ajs
|
||||||
|
|
||||||
# Rename library and create symlinks, following fix-soname.patch
|
# 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*
|
%{_libdir}/libmozjs-%{major}.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%{_bindir}/js52
|
||||||
%{_libdir}/libmozjs-%{major}.so
|
%{_libdir}/libmozjs-%{major}.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_includedir}/mozjs-%{major}/
|
%{_includedir}/mozjs-%{major}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 31 2017 Kalev Lember <klember@redhat.com> - 52.4.0-3
|
||||||
|
- Include standalone /usr/bin/js52 interpreter
|
||||||
|
|
||||||
* Tue Oct 31 2017 Kalev Lember <klember@redhat.com> - 52.4.0-2
|
* Tue Oct 31 2017 Kalev Lember <klember@redhat.com> - 52.4.0-2
|
||||||
- Various secondary arch fixes
|
- Various secondary arch fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user