|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
Name: mujs
|
|
|
|
|
Version: 1.0.4
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 1.0.9
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An embeddable Javascript interpreter
|
|
|
|
|
License: AGPLv3+
|
|
|
|
|
URL: http://mujs.com/
|
|
|
|
|
Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz
|
|
|
|
|
# The mujs.com download page doesn't provide recent tarballs
|
|
|
|
|
# Github mirror of mujs.com repository provides releases from tags
|
|
|
|
|
Source0: https://github.com/ccxvii/mujs/archiv/%{version}.tar.gz
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: grep
|
|
|
|
@ -27,13 +29,11 @@ This package provides the MuJS static library.
|
|
|
|
|
chmod a-x -v docs/*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
make debug %{?_smp_mflags} CFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
|
|
|
|
make debug %{?_smp_mflags} XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" \
|
|
|
|
|
CFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
|
|
|
|
|
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
|
XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
@ -48,6 +48,10 @@ make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" \
|
|
|
|
|
%{_libdir}/lib%{name}.a
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Oct 31 2020 Petr Šabata <contyk@redhat.com> - 1.0.9-1
|
|
|
|
|
- 1.0.9 bump
|
|
|
|
|
- Addresses CVE-2019-11411, CVE-2019-11412 and CVE-2019-11413
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|