Try to fix debuginfo package generation
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=3
This commit is contained in:
parent
c91328de02
commit
7da6a7f7ca
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 09:31:43 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Try to fix debuginfo package generation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 08:11:45 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
|
@ -83,22 +83,26 @@ registry = 'https://github.com/rust-lang/crates.io-index'
|
||||
replace-with = 'vendored-sources'
|
||||
[source.vendored-sources]
|
||||
directory = './vendor'
|
||||
[build]
|
||||
rustc = "%{__rustc}"
|
||||
rustdoc = "%{__rustdoc}"
|
||||
rustflags = %{__global_rustflags_toml}
|
||||
[install]
|
||||
root = '%{buildroot}%{_prefix}'
|
||||
[term]
|
||||
verbose = true
|
||||
EOF
|
||||
%{__rm} -f Cargo.lock
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%__cargo cbuild --release
|
||||
CFLAGS="%{optflags}" %__cargo cbuild
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
rm -rf %{buildroot}%{_datadir}/cargo
|
||||
|
||||
%__cargo cinstall \
|
||||
--release \
|
||||
--destdir=%{buildroot} \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
|
Loading…
Reference in New Issue
Block a user