SHA256
10
0
forked from pool/luabind

Accepting request 1149137 from devel:languages:lua

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN.
- Use %license

OBS-URL: https://build.opensuse.org/request/show/1149137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luabind?expand=0&rev=6
This commit is contained in:
2024-02-22 19:59:48 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 22 09:50:38 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
- Use %license
-------------------------------------------------------------------
Thu Dec 19 10:13:27 UTC 2019 - Michel Normand <normand@linux.vnet.ibm.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package luabind
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@ Release: 0
Summary: Lua C++ bindings
License: MIT
Group: Development/Libraries/C and C++
Url: https://github.com/rpavlik/luabind
URL: https://github.com/rpavlik/luabind
Source: %{name}-%{version}.tar.xz
Patch0: fix-cmake-lib-version.patch
Patch1: install-pkgconfig.patch
@@ -64,9 +64,7 @@ It has the ability to expose functions and classes, written in C++, to Lua.
This package contains the library.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup -p1
%build
# Parallel build settings ...
@@ -107,7 +105,7 @@ make -j$limit_jobs
%{_libdir}/lib%{name}.so
%files -n lib%{name}%{sover}
%doc LICENSE
%license LICENSE
%{_libdir}/lib%{name}.so.*
%changelog