Compare commits

..

No commits in common. "b0a60bbb05b1e2d344e385f3b76f89c22a1a1ffc" and "9deb2de6e7d513112da2c622f15984f74490380f" have entirely different histories.

3 changed files with 6 additions and 29 deletions

BIN
1.0.9.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,13 @@
Name: mujs Name: mujs
Version: 1.3.4 Version: 1.0.9
Release: 1 Release: 1
Summary: An embeddable Javascript interpreter Summary: An embeddable Javascript interpreter
License: ISC License: ISC
URL: http://mujs.com/ URL: http://mujs.com/
# The mujs.com download page doesn't provide recent tarballs # The mujs.com download page doesn't provide recent tarballs
# Github mirror of mujs.com repository provides releases from tags # Github mirror of mujs.com repository provides releases from tags
Source0: https://mujs.com/downloads/mujs-%{version}.tar.gz Source0: https://github.com/ccxvii/mujs/archiv/%{version}.tar.gz
BuildRequires: coreutils
#BuildRequires: coreutils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: grep BuildRequires: grep
BuildRequires: make BuildRequires: make
@ -21,7 +19,6 @@ other software to extend them with scripting capabilities.
%package devel %package devel
Summary: MuJS development files Summary: MuJS development files
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-static = %{version}-%{release} Provides: %{name}-static = %{version}-%{release}
%description devel %description devel
@ -31,18 +28,17 @@ This package provides the MuJS static library.
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
chmod a-x -v docs/* chmod a-x -v docs/*
%build %build
%make_build release CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" make debug %{?_smp_mflags} XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
%install %install
%make_install prefix="%{_prefix}" libdir="%{_libdir}" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" \
XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
%files %files
%license COPYING %license COPYING
%doc AUTHORS README docs %doc AUTHORS README docs
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/%{name}-pp
%files devel %files devel
%license COPYING %license COPYING
@ -52,24 +48,5 @@ chmod a-x -v docs/*
%{_libdir}/lib%{name}.a %{_libdir}/lib%{name}.a
%changelog %changelog
* Mon Dec 11 2023 Vicoloa <lvkun@uniontech.com> - 1.3.4-1
- upstream to 1.3.4
* Thu Sep 21 2023 leeffo <liweiganga@uniontech.com> - 1.3.3-1
- upstream to 1.3.3
- migrated to SPDX license
* Tue Feb 21 2023 liweiganga <liweiganga@uniontech.com> - 1.3.2-1
- upstream to 1.3.2
- fix CVE-2022-44789
* Tue Sep 27 2022 liweiganga <liweiganga@uniontech.com> - 1.2.0-2
- fix: fix CVE-2022-30974 CVE-2022-30974
* Mon Sep 26 2022 liweiganga <liweiganga@uniontech.com> - 1.2.0-1
- upstream release 1.2.0
- fix: fix CVE-2016-10141、CVE-2016-7504、CVE-2016-9136、CVE-2017-5628、CVE-2016-9017、\
CVE-2016-7506、CVE-2017-5627、CVE-2016-9108、CVE-2016-9294
* Thu May 13 2021 He Rengui <herengui@uniontech.com> - 1.0.9-1 * Thu May 13 2021 He Rengui <herengui@uniontech.com> - 1.0.9-1
- package init - package init