commit 4f964f108c87ce35236eb042c94e3a4db98a3383
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Nov 2 15:34:58 2021 +0000
Fix appdata
parse-readme.py | 2 +-
xorg-x11-drv-nvidia.spec | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/parse-readme.py b/parse-readme.py
index 3a5d140..acaf0d5 100755
--- a/parse-readme.py
+++ b/parse-readme.py
@@ -15,7 +15,7 @@ def main():
in_section = False
in_table = False
pids = []
- sections = ["NVIDIA GEFORCE GPUS", "NVIDIA RTX/QUADRO GPUS",
"NVIDIA NVS GPUS", "NVIDIA TESLA GPUS", "NVIDIA GRID GPUS"]
+ sections = ["CURRENT NVIDIA GPUS"]
for section in sections:
for line in f.readlines():
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 2c62651..1923abf 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -25,7 +25,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 3
Version: 495.44
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
License: Redistributable, no modification permitted
@@ -361,7 +361,7 @@ cat > %{buildroot}%{rpmmacrodir}/macros.%{name}-kmodsrc<<
EOF
%nvidia_kmodsrc_version %{version}
EOF
-%if 0%{?fedora} > 36|| 0%{?rhel} > 7
+%if 0%{?fedora} || 0%{?rhel} > 7
# install AppData and add modalias provides
mkdir -p %{buildroot}%{_metainfodir}/
install -pm 0644 %{SOURCE8} %{buildroot}%{_metainfodir}/
@@ -447,7 +447,7 @@ fi ||:
%{_udevrulesdir}/10-nvidia.rules
%{_udevrulesdir}/60-nvidia.rules
%{_unitdir}/nvidia-fallback.service
-%if 0%{?fedora} > 36|| 0%{?rhel} > 7
+%if 0%{?fedora} || 0%{?rhel} > 7
%{_metainfodir}/%{name}.metainfo.xml
%{_datadir}/pixmaps/%{name}.png
%endif
@@ -577,6 +577,9 @@ fi ||:
%endif
%changelog
+* Tue Nov 02 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:495.44-4
+- Fix appdata
+
* Mon Nov 01 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3:495.44-3
- Add libnvidia-vulkan-producer symlink
Show replies by date