Accepting request 904368 from home:dimstar:Factory
- Only install rls/README when building devtools, as otherwise this file would end up in no package. OBS-URL: https://build.opensuse.org/request/show/904368 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=295
This commit is contained in:
parent
96350f9244
commit
6247384b82
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 10:40:26 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Only install rls/README when building devtools, as otherwise this
|
||||
file would end up in no package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 01:47:31 UTC 2021 - William Brown <william.brown@suse.com>
|
||||
|
||||
|
@ -86,8 +86,8 @@ invoking gdb on rust binaries.
|
||||
|
||||
|
||||
|
||||
# As this is masked by devtools, this is arch specific even if it has no content.
|
||||
|
||||
# As this is masked by devtools, this is arch specific even if it has no content.
|
||||
%package -n rls
|
||||
Summary: Language server for Rust lang
|
||||
License: Apache-2.0 OR MIT
|
||||
@ -125,8 +125,10 @@ Cargo downloads dependencies of Rust projects and compiles it.
|
||||
%install
|
||||
install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/rust/README
|
||||
install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/rust-gdb/README
|
||||
install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/rls/README
|
||||
install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/cargo/README
|
||||
%if %{with devtools}
|
||||
install -D -m 0644 %{S:0} %{buildroot}/usr/share/doc/packages/rls/README
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user