SHA256
10
0
forked from pool/lua-cosmo

Accepting request 1060928 from home:michals:branches:devel:languages:lua

- Blank line required after %%autosetup on SLE12

- Fix missing dependency on lua-macros (boo#1205612)

OBS-URL: https://build.opensuse.org/request/show/1060928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-cosmo?expand=0&rev=3
This commit is contained in:
2023-01-25 13:35:42 +00:00
committed by Git OBS Bridge
parent 6b19684da5
commit b9fdbc6fd5
2 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jan 25 12:38:43 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
- Blank line required after %%autosetup on SLE12
-------------------------------------------------------------------
Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
- Fix missing dependency on lua-macros (boo#1205612)
-------------------------------------------------------------------
Sun Sep 11 14:28:19 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,9 +27,10 @@ Group: Development/Languages/Other
URL: https://github.com/mascarenhas/cosmo
Source: cosmo-%{version}.tar.xz
Patch: fix_test.patch
BuildRequires: %{flavor}-devel
BuildRequires: %{flavor}-lpeg
BuildRequires: %{flavor}-luarocks
BuildRequires: %{flavor}-devel
BuildRequires: lua-macros
Requires: %{flavor}
Requires: %{flavor}-lpeg
%lua_provides
@@ -48,6 +49,7 @@ engines, without the downside of allowing arbitrary code in the templates.
%prep
%autosetup -p1 -n %{mod_name}-%{version}
sed -i -e '/lpeg >=/d' "rockspec/%{mod_name}-%{rock_version}.rockspec"
%build