forked from pool/cargo-c
Accepting request 755863 from home:gladiac:branches:devel:languages:rust
- Set rust compiler and rust flags OBS-URL: https://build.opensuse.org/request/show/755863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/cargo-c?expand=0&rev=3
This commit is contained in:
parent
7742594a84
commit
bc9381b4e3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 16:03:39 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Set rust compiler and rust flags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 18:36:44 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
|
11
cargo-c.spec
11
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 <asn@cryptomilk.org>.
|
||||
#
|
||||
# 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]
|
||||
|
Loading…
Reference in New Issue
Block a user