Accepting request 823620 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/823620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/duktape?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2020-07-31 13:55:37 +00:00 committed by Git OBS Bridge
commit 8474d3d9ce
4 changed files with 19 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86a89307d1633b5cedb2c6e56dc86e92679fc34b05be551722d8cc69ab0771fc
size 1027744

3
duktape-2.5.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83d411560a1cd36ea132bd81d8d9885efe9285c6bc6685c4b71e69a0c4329616
size 1031188

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jul 28 07:16:30 UTC 2020 - Martin Rey <mrey@suse.com>
- Update to 2.5.0:
* CBOR support, minor fixes and improvements
- spec file changes
* change http to https in URLs
* use RPM macros
-------------------------------------------------------------------
Mon Jul 29 16:13:30 UTC 2019 - Alexei Podvalsky <avvissu@yandex.by>

View File

@ -1,7 +1,7 @@
#
# spec file for package duktape
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,13 @@
%define sover 201
Name: duktape
Version: 2.4.0
Version: 2.5.0
Release: 0
Summary: Embeddable Javascript engine
License: MIT
Group: Development/Libraries/C and C++
Url: http://duktape.org/
Source0: http://duktape.org/%{name}-%{version}.tar.xz
URL: https://duktape.org/
Source0: https://duktape.org/%{name}-%{version}.tar.xz
Source1: duktape.pc.in
BuildRequires: gcc
BuildRequires: pkgconfig
@ -68,7 +68,7 @@ sed -e '/^INSTALL_PREFIX/s|[^=]*$|%{_prefix}|' \
-e 's/\(\$.INSTALL_PREFIX.\)/$(DESTDIR)\1/' \
-e 's/\/lib\b/\/%{_lib}/g' \
< Makefile.sharedlibrary > Makefile
make -j1
%make_build -j1
%install
%make_install
@ -79,13 +79,12 @@ install -Dm0644 %{name}.pc.in %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
%files -n lib%{name}%{sover}
%defattr(-,root,root)
%doc AUTHORS.rst LICENSE.txt
%doc AUTHORS.rst
%license LICENSE.txt
%{_libdir}/libduktape.so.*
%{_libdir}/libduktaped.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/duk_config.h
%{_includedir}/duktape.h
%{_libdir}/libduktape.so