[packages/VirtualBox] updated noarch rules

atler atler at pld-linux.org
Thu Jan 21 20:12:59 CET 2021


commit dfdbd52299c2c62bf7feea385513acebb3aff1f3
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jan 21 20:11:26 2021 +0100

    updated noarch rules

 VirtualBox.spec | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 3e78c6c..c84d1e0 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -160,7 +160,7 @@ BuildRequires:	python-devel >= 2.3
 BuildRequires:	python-modules
 BuildRequires:	qt5-build
 BuildRequires:	qt5-linguist
-BuildRequires:	rpmbuild(macros) >= 1.715
+BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	sed >= 4.0
 %if %{with doc}
 BuildRequires:	texlive-fonts-bitstream
@@ -278,9 +278,7 @@ This package contains VirtualBox User Manual.
 Summary:	VirtualBox Guest Additions
 Group:		Base
 Requires:	%{name} = %{version}
-%if "%{_rpmversion}" >= "5"
-BuildArch:	noarch
-%endif
+%{?noarchpackage}
 
 %description additions
 VirtualBox Guest Additions.
@@ -365,9 +363,7 @@ Summary(pl.UTF-8):	Moduły VirtualBoksa do jądra Linuksa dla systemu gościa
 License:	GPL v2+
 Group:		Base/Kernel
 Requires:	dkms
-%if "%{_rpmversion}" >= "5"
-BuildArch:	noarch
-%endif
+%{?noarchpackage}
 
 %description -n dkms-vboxguest
 This package contains DKMS-ready VirtualBox Guest Additions for Linux
@@ -385,9 +381,7 @@ Summary(pl.UTF-8):	Moduły jądra Linuksa dla VirtualBoksa
 License:	GPL v2+
 Group:		Base/Kernel
 Requires:	dkms
-%if "%{_rpmversion}" >= "5"
-BuildArch:	noarch
-%endif
+%{?noarchpackage}
 
 %description -n dkms-vboxhost
 This package contains DKMS enabled sourcecode of VirtualBox Support
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/dfdbd52299c2c62bf7feea385513acebb3aff1f3



More information about the pld-cvs-commit mailing list