From 3945e2050b6639a7a89bf39e2aa38d461fe31ee2bc6d3941471134c0e7608e2c Mon Sep 17 00:00:00 2001 From: Alexei Podvalsky Date: Sat, 3 Jun 2017 13:30:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/duktape?expand=0&rev=3 --- duktape.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/duktape.spec b/duktape.spec index 168a2b7..1df9c39 100644 --- a/duktape.spec +++ b/duktape.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define sover 201 Name: duktape Version: 2.1.0 @@ -29,13 +30,12 @@ BuildRequires: gcc BuildRequires: pkgconfig %description -Duktape is an embeddable Javascript engine, with a focus on portability and +Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. %package -n lib%{name}%{sover} Summary: The core library for %{name} Group: System/Libraries -Provides: libduktaped%{sover} = %{version} %description -n lib%{name}%{sover} Embeddable Javascript engine. @@ -79,11 +79,13 @@ 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 %{_libdir}/libduktape.so.* %{_libdir}/libduktaped.so.* %files devel +%defattr(-,root,root) %{_includedir}/duk_config.h %{_includedir}/duktape.h %{_libdir}/libduktape.so