[packages/rust] disable debug packages when building without full_debuginfo

atler atler at pld-linux.org
Tue May 25 19:21:16 CEST 2021


commit c19e7faa045f7b14d1534b07a35cc62b921758d0
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 25 19:20:09 2021 +0200

    disable debug packages when building without full_debuginfo

 rust.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/rust.spec b/rust.spec
index 86d146f..caf15c6 100644
--- a/rust.spec
+++ b/rust.spec
@@ -28,6 +28,11 @@
 %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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rust.git/commitdiff/c19e7faa045f7b14d1534b07a35cc62b921758d0



More information about the pld-cvs-commit mailing list