forked from pool/lua-lgi
Accepting request 870576 from home:dimstar:Factory
- Use %lua_provides: add the lua-mod_name provides/obsoletes to the lua version matching the distro default. OBS-URL: https://build.opensuse.org/request/show/870576 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-lgi?expand=0&rev=24
This commit is contained in:
parent
0e1e1e85de
commit
830291e483
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 9 14:32:38 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %lua_provides: add the lua-mod_name provides/obsoletes to
|
||||
the lua version matching the distro default.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 13:23:34 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua-lgi
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2012 Adam Mizerski <adam@mizerski.pl>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -33,10 +33,7 @@ BuildRequires: pkgconfig(gmodule-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.8
|
||||
BuildRequires: pkgconfig(libffi)
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == "lua53"
|
||||
Provides: lua-%{mod_name} = %{version}
|
||||
Obsoletes: lua-%{mod_name} < %{version}
|
||||
%endif
|
||||
%lua_provides
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user