Accepting request 987780 from shells
OBS-URL: https://build.opensuse.org/request/show/987780 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/starship?expand=0&rev=3
This commit is contained in:
commit
b08b52f21b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 8 02:51:04 UTC 2022 - William Brown <william.brown@suse.com>
|
||||||
|
|
||||||
|
- Remove dependency on unmaintained rust-packaging
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 28 03:06:50 UTC 2022 - Dead Mozay <dead_mozay@opensuse.org>
|
Tue Jun 28 03:06:50 UTC 2022 - Dead Mozay <dead_mozay@opensuse.org>
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
|
|
||||||
Name: starship
|
Name: starship
|
||||||
Version: 1.9.1
|
Version: 1.9.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,7 +25,7 @@ URL: https://starship.rs/
|
|||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
Source2: cargo_config
|
Source2: cargo_config
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,13 +43,10 @@ mkdir -p .cargo
|
|||||||
cp %{SOURCE2} .cargo/config
|
cp %{SOURCE2} .cargo/config
|
||||||
|
|
||||||
%build
|
%build
|
||||||
RUSTFLAGS=%{rustflags} cargo build --release
|
%{cargo_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
RUSTFLAGS=%{rustflags} cargo install --root=%{buildroot}%{_prefix} --path .
|
%{cargo_install}
|
||||||
# remove residue crate file
|
|
||||||
rm %{buildroot}%{_prefix}/.crates.toml
|
|
||||||
rm %{buildroot}%{_prefix}/.crates2.json
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user