- Point to use LuaJIT headers and use LuaJIT for Sile
OBS-URL: https://build.opensuse.org/package/show/Publishing/sile?expand=0&rev=45
This commit is contained in:
parent
11d3ad68ef
commit
f2a10e3bed
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 18 15:10:43 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||||
|
|
||||||
|
- Point to use LuaJIT headers and use LuaJIT for Sile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 14 16:42:20 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
|
Fri Jun 14 16:42:20 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
|
||||||
|
|
||||||
|
11
sile.spec
11
sile.spec
@ -140,8 +140,8 @@ This package contains the development files for libtexpdf.
|
|||||||
%package bash-completion
|
%package bash-completion
|
||||||
Summary: Bash Completion for %{name}
|
Summary: Bash Completion for %{name}
|
||||||
Supplements: (%{name} and bash-completion)
|
Supplements: (%{name} and bash-completion)
|
||||||
Requires: sile
|
|
||||||
Requires: bash-completion
|
Requires: bash-completion
|
||||||
|
Requires: sile
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description bash-completion
|
%description bash-completion
|
||||||
@ -150,8 +150,8 @@ Bash command-line completion support for %{name}.
|
|||||||
%package fish-completion
|
%package fish-completion
|
||||||
Summary: Fish Completion for %{name}
|
Summary: Fish Completion for %{name}
|
||||||
Supplements: (%{name} and fish)
|
Supplements: (%{name} and fish)
|
||||||
Requires: sile
|
|
||||||
Requires: fish
|
Requires: fish
|
||||||
|
Requires: sile
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description fish-completion
|
%description fish-completion
|
||||||
@ -198,11 +198,10 @@ unset LIBSSH2_SYS_USE_PKG_CONFIG
|
|||||||
export RUSTFLAGS=" -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C incremental=false -C strip=none"
|
export RUSTFLAGS=" -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C incremental=false -C strip=none"
|
||||||
export CARGO_AUDITABLE=auditable
|
export CARGO_AUDITABLE=auditable
|
||||||
export CARGO_FEATURE_VENDORED=1
|
export CARGO_FEATURE_VENDORED=1
|
||||||
# boo#1226307
|
|
||||||
# Force configure file to use lua5.1 includes rather than luajit includes
|
# Force configure file to use lua5.1 includes rather than luajit includes
|
||||||
export LUA_INCLUDE="-I/usr/include/lua5.1"
|
export LUA_INCLUDE="$(pkg-config --cflags-only-I luajit)"
|
||||||
export CFLAGS="%optflags $(pkg-config --cflags-only-I lua5.1 luaji)"
|
export CFLAGS="%optflags $(pkg-config --cflags-only-I luajit)"
|
||||||
export CXXFLAGS="%optflags $(pkg-config --cflags-only-I lua5.1 luaji)"
|
export CXXFLAGS="%optflags $(pkg-config --cflags-only-I luajit)"
|
||||||
%make_install
|
%make_install
|
||||||
rm %{buildroot}%{_libdir}/*.la
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
Loading…
Reference in New Issue
Block a user