]> git.pld-linux.org Git - packages/rust.git/commitdiff
disable debug packages when building without full_debuginfo
authorJan Palus <atler@pld-linux.org>
Tue, 25 May 2021 17:20:09 +0000 (19:20 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 25 May 2021 17:20:09 +0000 (19:20 +0200)
rust.spec

index 86d146f4df6ce41d843c974d55cb32f7210a1e33..caf15c6f0f17825cd77425e4b6080479f324bcc2 100644 (file)
--- a/rust.spec
+++ b/rust.spec
 %ifarch x32
 %define                with_cross      1
 %endif
+
+%if %{without full_debuginfo}
+%define                _enable_debug_packages  0
+%endif
+
 Summary:       The Rust Programming Language
 Summary(pl.UTF-8):     JÄ™zyk programowania Rust
 Name:          rust
This page took 0.036231 seconds and 4 git commands to generate.