[packages/rust] rpm4 noarch

glen glen at pld-linux.org
Sun Jul 2 22:47:11 CEST 2017


commit b19b9d5139395caf6414506d1baa84d8bc1b69e6
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Jul 2 23:46:57 2017 +0300

    rpm4 noarch

 rust.spec | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/rust.spec b/rust.spec
index 7e7d09a..91be41a 100644
--- a/rust.spec
+++ b/rust.spec
@@ -95,7 +95,9 @@ documentation generator.
 %package debugger-common
 Summary:	Common debugger pretty printers for Rust
 Group:		Development/Debuggers
+%if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
+%endif
 
 %description debugger-common
 This package includes the common functionality for %{name}-gdb and
@@ -106,7 +108,9 @@ Summary:	GDB pretty printers for Rust
 Group:		Development/Debuggers
 Requires:	%{name}-debugger-common = %{version}-%{release}
 Requires:	gdb
+%if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
+%endif
 
 %description gdb
 This package includes the rust-gdb script, which allows easier
@@ -117,7 +121,9 @@ Summary:	LLDB pretty printers for Rust
 Group:		Development/Debuggers
 Requires:	%{name}-debugger-common = %{version}-%{release}
 Requires:	lldb
+%if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
+%endif
 
 %description lldb
 This package includes the rust-lldb script, which allows easier
@@ -126,7 +132,9 @@ debugging of Rust programs.
 %package doc
 Summary:	Documentation for Rust
 Group:		Documentation
+%if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
+%endif
 
 %description doc
 This package includes HTML documentation for the Rust programming
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list