diff --git a/cargo-c.changes b/cargo-c.changes index 056cd21..716e91b 100644 --- a/cargo-c.changes +++ b/cargo-c.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 9 16:03:39 UTC 2019 - Andreas Schneider + +- Set rust compiler and rust flags + ------------------------------------------------------------------- Wed Nov 20 18:36:44 UTC 2019 - Andreas Schneider diff --git a/cargo-c.spec b/cargo-c.spec index 955f65a..0f81d19 100644 --- a/cargo-c.spec +++ b/cargo-c.spec @@ -1,6 +1,7 @@ # -# spec file for package rust-cargo-c +# spec file for package cargo-c # +# Copyright (c) 2019 SUSE LLC # Copyright (c) 2019 Andreas Schneider . # # All modifications and additions to the file contributed by third parties @@ -15,14 +16,14 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: cargo-c Version: 0.3.1 Release: 0 Summary: Helper to build and install c-like libraries from Rust +License: MIT Group: Development/Languages/Rust -# Upstream license specification: MIT -License: MIT URL: https://crates.io/crates/cargo-c # Source0: https://github.com/lu-zero/cargo-c/archive/v%{version}/%{name}-%{version}.tar.gz @@ -48,6 +49,10 @@ 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]