This commit is contained in:
parent
00a579d8ce
commit
c3624e9af9
24
rust.spec
24
rust.spec
@ -109,28 +109,34 @@ even though some of these abstractions feel like those of a
|
|||||||
high-level language. Even then, Rust still allows precise
|
high-level language. Even then, Rust still allows precise
|
||||||
control like a low-level language would.
|
control like a low-level language would.
|
||||||
|
|
||||||
%package std
|
%package -n rust-std-%{version}
|
||||||
Summary: Standard library for Rust
|
Summary: Standard library for Rust
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
|
Provides: rust-std = %{version}
|
||||||
|
Conflicts: rust-std <= %{version}
|
||||||
|
Conflicts: rust-std >= %{version}
|
||||||
|
|
||||||
%description std
|
%description rust-std-%{version}
|
||||||
This package includes the standard libraries for building
|
This package includes the standard libraries for building
|
||||||
applications written in Rust.
|
applications written in Rust.
|
||||||
|
|
||||||
%package doc
|
%package -n rust-doc-%{version}
|
||||||
Summary: Rust documentation
|
Summary: Rust documentation
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
|
Provides: rust-doc = %{version}
|
||||||
|
Conflicts: rust <= %{version}
|
||||||
|
Conflicts: rust >= %{version}
|
||||||
|
|
||||||
%description doc
|
%description rust-doc-%{version}
|
||||||
Documentation for the Rust language.
|
Documentation for the Rust language.
|
||||||
|
|
||||||
%package gdb
|
%package -n rust-gdb-%{version}
|
||||||
Summary: Gdb integration for rust binaries
|
Summary: Gdb integration for rust binaries
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Supplements: packageand(%{name}:gdb)
|
Supplements: packageand(%{name}:gdb)
|
||||||
Provides: rustc:%{_bindir}/rust-gdb
|
Provides: rustc:%{_bindir}/rust-gdb
|
||||||
|
|
||||||
%description gdb
|
%description rust-gdb-%{version}
|
||||||
This subpackage provides pretty printers and a wrapper script for
|
This subpackage provides pretty printers and a wrapper script for
|
||||||
invoking gdb on rust binaries.
|
invoking gdb on rust binaries.
|
||||||
|
|
||||||
@ -205,7 +211,7 @@ rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
|
|||||||
%{_prefix}/lib/lib*.so
|
%{_prefix}/lib/lib*.so
|
||||||
%exclude %{_docdir}/%{name}/html
|
%exclude %{_docdir}/%{name}/html
|
||||||
|
|
||||||
%files std
|
%files rust-std-%{version}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/lib/rustlib
|
%dir %{_prefix}/lib/rustlib
|
||||||
%dir %{_prefix}/lib/rustlib/%{rust_triple}
|
%dir %{_prefix}/lib/rustlib/%{rust_triple}
|
||||||
@ -213,7 +219,7 @@ rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
|
|||||||
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.rlib
|
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.rlib
|
||||||
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.so
|
%{_prefix}/lib/rustlib/%{rust_triple}/lib/*.so
|
||||||
|
|
||||||
%files gdb
|
%files rust-gdb-%{version}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/rust-gdb
|
%{_bindir}/rust-gdb
|
||||||
%dir %{_prefix}/lib/rustlib
|
%dir %{_prefix}/lib/rustlib
|
||||||
@ -223,7 +229,7 @@ rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
|
|||||||
%{_prefix}/lib/rustlib/etc/gdb_rust_pretty_printing.py
|
%{_prefix}/lib/rustlib/etc/gdb_rust_pretty_printing.py
|
||||||
%{_prefix}/lib/rustlib/etc/lldb_rust_formatters.py
|
%{_prefix}/lib/rustlib/etc/lldb_rust_formatters.py
|
||||||
|
|
||||||
%files doc
|
%files rust-doc-%{version}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license %{_docdir}/%{name}/html/FiraSans-LICENSE.txt
|
%license %{_docdir}/%{name}/html/FiraSans-LICENSE.txt
|
||||||
%license %{_docdir}/%{name}/html/Heuristica-LICENSE.txt
|
%license %{_docdir}/%{name}/html/Heuristica-LICENSE.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user