!9 update to 2.7.0

From: @zhengxiaoxiaoGitee 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2022-11-03 07:15:41 +00:00 committed by Gitee
commit f68d2f3838
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 3 deletions

Binary file not shown.

BIN
duktape-2.7.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
Name: duktape
Version: 2.6.0
Version: 2.7.0
Release: 1
Summary: Embeddable Javascript engine
License: MIT
@ -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,5 +64,8 @@ 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-1
- Initial package