updated noarch rule
authorJan Palus <atler@pld-linux.org>
Thu, 25 Feb 2021 17:26:41 +0000 (18:26 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 25 Feb 2021 17:26:41 +0000 (18:26 +0100)
xorg-driver-video-nvidia-legacy-390xx.spec

index 57d2a95f2d7038e4ad0635b058800b3f6360269f..8936ead2f11c63c8062ff66f6c25b9e5066c21b1 100644 (file)
@@ -57,7 +57,7 @@ Patch0:               X11-driver-nvidia-GL.patch
 Patch1:                X11-driver-nvidia-desktop.patch
 Patch2:                kernel-5.11.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.20.2}}
 BuildRequires: sed >= 4.0
 BuildConflicts:        XFree86-nvidia
@@ -166,9 +166,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
This page took 1.410785 seconds and 4 git commands to generate.