From 0c89359eca3ea71bf3c275432b77e281cb60ac66 Mon Sep 17 00:00:00 2001 From: Alain Vigne Date: Thu, 1 Dec 2022 14:23:15 +0100 Subject: [PATCH] upstream release 1.3.2 Fix CVE-2022-44789 (rhbz#2148261) Fix CVE-2022-30975 (rhbz#2088596) Fix CVE-2022-30974 (rhbz#2088591) --- .gitignore | 1 + mujs.spec | 19 ++++++++++++++----- sources | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index bbf84a3..fc14421 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /mujs-1.0.4.tar.gz /1.0.9.tar.gz /mujs-1.2.0.tar.gz +/mujs-1.3.2.tar.gz diff --git a/mujs.spec b/mujs.spec index 5233981..996f283 100644 --- a/mujs.spec +++ b/mujs.spec @@ -1,12 +1,12 @@ Name: mujs -Version: 1.2.0 -Release: 2%{?dist} +Version: 1.3.2 +Release: 1%{?dist} Summary: An embeddable Javascript interpreter License: ISC URL: https://mujs.com/ Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz -BuildRequires: coreutils +#BuildRequires: coreutils BuildRequires: gcc BuildRequires: grep BuildRequires: make @@ -18,6 +18,7 @@ other software to extend them with scripting capabilities. %package devel Summary: MuJS development files +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-static = %{version}-%{release} %description devel @@ -28,12 +29,13 @@ This package provides the MuJS static library. chmod a-x -v docs/* %build -make debug %{?_smp_mflags} XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}" +%make_build debug %{?_smp_mflags} XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}" %install -make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" \ +%make_install prefix="%{_prefix}" libdir="%{_libdir}" \ XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}" + %files %license COPYING %doc AUTHORS README docs @@ -46,7 +48,14 @@ make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" \ %{_includedir}/%{name}.h %{_libdir}/lib%{name}.a + %changelog +* Thu Dec 01 2022 Alain Vigne 1.3.2-1 +- upstream release 1.3.2 +- Fix CVE-2022-44789 (rhbz#2148261) +- Fix CVE-2022-30975 (rhbz#2088596) +- Fix CVE-2022-30974 (rhbz#2088591) + * Thu Jul 21 2022 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 42e4a62..39b3d36 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mujs-1.2.0.tar.gz) = dcde632f3be934653b7604a04c282fb71371cb416a13c186541d4fa6de8483091ddb77f06db1cd3b8c382f644f8c8ec83310611c5433aea3fcfba477ce9daf57 +SHA512 (mujs-1.3.2.tar.gz) = ccffb04171f7ecec2cfa6f0e59859acc911836370a648e4c6703db174631ce316413a64ebf4b32eea3d3b09221ff01861cda91f4b1b9bebf495168f26f90daf5