Accepting request 789911 from mozilla

- remove more irrelevant build artefacts

OBS-URL: https://build.opensuse.org/request/show/789911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=19
This commit is contained in:
Wolfgang Rosenauer 2020-03-30 21:54:44 +00:00 committed by Git OBS Bridge
parent e3b89fed20
commit f4cb926516
2 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@ Mon Mar 30 20:12:18 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
- Update to version 0.13.1
* Support `#[cfg]` on individual enum variants
- required for Firefox >= 75
- remove more irrelevant build artefacts
-------------------------------------------------------------------
Sat Mar 7 09:05:08 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -64,8 +64,9 @@ export RUSTFLAGS="%{rustflags}"
export CARGO_HOME=`pwd`/cargo-home/
# cargo install appends /bin to the path
cargo install --root=%{buildroot}%{_prefix} --path .
# remove spurious file
rm %{buildroot}%{_prefix}/.crates.toml
# remove spurious files
rm -f %{buildroot}%{_prefix}/.crates.toml
rm -f %{buildroot}%{_prefix}/.crates2.json
%files
%license LICENSE