Skip to content

Commit

Permalink
[sb2] Specify lua-posix dependency correctly for OpenSuSE
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
  • Loading branch information
Thaodan committed Sep 10, 2023
1 parent 8bbef23 commit 41ec483
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions rpm/scratchbox2.spec
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
Summary: Scratchbox2 crosscompiling environment
License: LGPLv2
URL: https://git.sailfishos.org/mer-core/scratchbox2
URL: https://git.sailfishos.org/mer-core/scratchbox2
Name: scratchbox2
Version: 2.3.90
Version: 2.3.90+git58
Release: 0
Source: %{name}-%{version}.tar.gz
Prefix: /usr
ExclusiveArch: %{ix86}
ExclusiveArch: %{ix86} %{x86_64}
BuildRequires: make
BuildRequires: autoconf
BuildRequires: pkgconfig(lua)
BuildRequires: automake
%if %{suse_version}
BuildRequires: lua-luaposix
Requires: lua-luaposix
%else
BuildRequires: lua-posix
Requires: libsb2 = %{version}-%{release}
Requires: lua-posix
Requires: lua-posix
%endif
Requires: libsb2 = %{version}-%{release}

%description
Scratchbox2 crosscompiling environment
Expand All @@ -31,7 +36,7 @@ Summary: Scratchbox2 docs
Scratchbox2 man pages.

%prep
%setup
%autosetup

%build
./autogen.sh
Expand Down

0 comments on commit 41ec483

Please sign in to comment.