SHA256
1
0
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:
Neal Gompa 2019-12-11 14:24:25 +00:00 committed by Git OBS Bridge
parent 7742594a84
commit bc9381b4e3
2 changed files with 13 additions and 3 deletions

View File

@ -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> Wed Nov 20 18:36:44 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -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>. # Copyright (c) 2019 Andreas Schneider <asn@cryptomilk.org>.
# #
# All modifications and additions to the file contributed by third parties # 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/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: cargo-c Name: cargo-c
Version: 0.3.1 Version: 0.3.1
Release: 0 Release: 0
Summary: Helper to build and install c-like libraries from Rust Summary: Helper to build and install c-like libraries from Rust
License: MIT
Group: Development/Languages/Rust Group: Development/Languages/Rust
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/cargo-c URL: https://crates.io/crates/cargo-c
# #
Source0: https://github.com/lu-zero/cargo-c/archive/v%{version}/%{name}-%{version}.tar.gz 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' replace-with = 'vendored-sources'
[source.vendored-sources] [source.vendored-sources]
directory = './vendor' directory = './vendor'
[build]
rustc = "%{__rustc}"
rustdoc = "%{__rustdoc}"
rustflags = %{__global_rustflags_toml}
[install] [install]
root = '%{buildroot}%{_prefix}' root = '%{buildroot}%{_prefix}'
[term] [term]