update to 2.7.0

This commit is contained in:
zhengxiaoxiao 2022-11-03 14:33:31 +08:00
parent d8cc4a4c37
commit b2ff55afe4
3 changed files with 6 additions and 4 deletions

Binary file not shown.

BIN
duktape-2.7.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: duktape
Version: 2.6.0
Release: 2
Version: 2.7.0
Release: 1
Summary: Embeddable Javascript engine
License: MIT
Url: http://duktape.org/
@ -33,9 +33,8 @@ sed -e's|@prefix@|%{_prefix}|' \
< %{SOURCE1} > %{name}.pc.in
%build
sed -e '/^INSTALL_PREFIX/s|[^=]*$|%{_prefix}|' \
sed -e '/^INSTALL_PREFIX/s|[^?=]*$|%{_prefix}|' \
-e '/install\:/a\\tinstall -d $(DESTDIR)$(INSTALL_PREFIX)/%{_lib}\n\tinstall -d $(DESTDIR)$(INSTALL_PREFIX)/include' \
-e 's/\(\$.INSTALL_PREFIX.\)/$(DESTDIR)\1/g' \
-e 's/\/lib\b/\/%{_lib}/g' \
< Makefile.sharedlibrary > Makefile
%make_build
@ -65,6 +64,9 @@ install -Dm0644 %{name}.pc.in %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/duktape.pc
%changelog
* Thu Nov 3 2022 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 2.7.0-1
- update to 2.7.0
* Thu Apr 28 2022 Hugel<gengqihu1@h-partners.com> - 2.6.0-2
- delete examples from devel