[packages/xorg-driver-video-nvidia] updated noarch rule
atler
atler at pld-linux.org
Tue Jan 26 18:23:17 CET 2021
commit 679b0225873797db0dcab81765c8b6b1ca6dcfdd
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jan 26 18:17:15 2021 +0100
updated noarch rule
xorg-driver-video-nvidia.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/xorg-driver-video-nvidia.spec b/xorg-driver-video-nvidia.spec
index ebf578c..66a1da0 100644
--- a/xorg-driver-video-nvidia.spec
+++ b/xorg-driver-video-nvidia.spec
@@ -46,7 +46,7 @@ Source4: 10-nvidia.conf
Source5: 10-nvidia-modules.conf
Patch0: X11-driver-nvidia-desktop.patch
URL: http://www.nvidia.com/object/unix.html
-BuildRequires: rpmbuild(macros) >= 1.701
+BuildRequires: rpmbuild(macros) >= 1.752
%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.32}}
BuildRequires: sed >= 4.0
BuildConflicts: XFree86-nvidia
@@ -155,9 +155,7 @@ firmy NVIDIA.
%package doc
Summary: Documentation for NVIDIA Graphics Driver
Group: Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description doc
NVIDIA Accelerated Linux Graphics Driver README and Installation
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-nvidia.git/commitdiff/679b0225873797db0dcab81765c8b6b1ca6dcfdd
More information about the pld-cvs-commit
mailing list