Projects
Mega:23.09
duktape
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:duktape.spec
Changed
@@ -1,11 +1,13 @@ Name: duktape Version: 2.7.0 -Release: 1 +Release: 2 Summary: Embeddable Javascript engine License: MIT Url: http://duktape.org/ Source0: http://duktape.org/%{name}-%{version}.tar.xz Source1: duktape.pc.in +#download from https://github.com/svaarala/duktape/pull/2480/files +Patch0: duktape-2.7.0-link-against-libm.patch BuildRequires: gcc BuildRequires: pkgconfig BuildRequires: make @@ -26,6 +28,7 @@ %prep %setup -q +%patch 0 -p1 sed -e's|@prefix@|%{_prefix}|' \ -e's|@libdir@|%{_lib}|' \ @@ -64,6 +67,9 @@ %{_libdir}/pkgconfig/duktape.pc %changelog +* Fri Sep 15 2023 peijiankang<peijiankang@kylinos.cn> - 2.7.0-2 +- add patch0:duktape-2.7.0-link-against-libm.patch + * Thu Nov 3 2022 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 2.7.0-1 - update to 2.7.0
View file
_service:tar_scm:duktape-2.7.0-link-against-libm.patch
Added
@@ -0,0 +1,17 @@ +diff --git a/Makefile.sharedlibrary b/Makefile.sharedlibrary +--- a/Makefile.sharedlibrary ++++ b/Makefile.sharedlibrary +@@ -71,11 +71,11 @@ all: libduktape.$(SO_REALNAME_SUFFIX) libduktaped.$(SO_REALNAME_SUFFIX) duktape. + + libduktape.$(SO_REALNAME_SUFFIX): + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -Wall -Wextra -Os -Wl,$(LD_SONAME_ARG),libduktape.$(SO_SONAME_SUFFIX) \ +- -o $@ $(DUKTAPE_SRCDIR)/duktape.c ++ -o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm + + libduktaped.$(SO_REALNAME_SUFFIX): + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -g -Wall -Wextra -Os -Wl,$(LD_SONAME_ARG),libduktaped.$(SO_SONAME_SUFFIX) \ +- -o $@ $(DUKTAPE_SRCDIR)/duktape.c ++ -o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm + + duktape.pc: + sed -e "s|@PREFIX@|$(INSTALL_PREFIX)|" \
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2