link against system oniguruma auto/th/delta-0.8.2-1
authorJan Palus <atler@pld-linux.org>
Tue, 29 Jun 2021 13:31:35 +0000 (13:31 +0000)
committerJan Palus <atler@pld-linux.org>
Tue, 29 Jun 2021 13:31:35 +0000 (13:31 +0000)
delta.spec

index 558b471a892e33ed54cf630c19754fc184ec6fc3..39c3b3da9662319353f599f62da47fcbea736d20 100644 (file)
@@ -14,12 +14,14 @@ Source1:    %{name}-crates-%{crates_ver}.tar.xz
 URL:           https://github.com/dandavison/delta
 BuildRequires: cargo
 BuildRequires: libgit2-devel >= 1.1.0
+BuildRequires: oniguruma-devel >= 6.9.3
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 2.004
 BuildRequires: rust
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 Requires:      libgit2 >= 1.1.0
+Requires:      oniguruma >= 6.9.3
 ExclusiveArch: %{rust_arches}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -69,6 +71,7 @@ EOF
 
 %build
 export CARGO_HOME="$(pwd)/.cargo"
+export RUSTONIG_SYSTEM_LIBONIG=true
 
 %cargo_build --frozen
 
This page took 0.049642 seconds and 4 git commands to generate.