[steam/el8] Use old format for changelog
by Simone Caronni
commit a23d7cb6cc667128012b76e97c0b2c4970d9ce93
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Thu Dec 24 11:00:27 2020 +0100
Use old format for changelog
steam.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/steam.spec b/steam.spec
index 5fb40f1..528f8e3 100644
--- a/steam.spec
+++ b/steam.spec
@@ -208,7 +208,7 @@ fi
%{_prefix}/lib/systemd/user.conf.d/01-steam.conf
%changelog
-* Thu Dec 24 10:30:40 CET 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-4
+* Thu Dec 24 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-4
- Remove pipewire-alsa conditional for RHEL 8.
* Wed Dec 16 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.0.68-3
3 years, 11 months
[steam/el7] Use old format for changelog
by Simone Caronni
commit 586a0a006459913abf7bb2ee830051d7080d3be3
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Thu Dec 24 11:00:27 2020 +0100
Use old format for changelog
steam.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/steam.spec b/steam.spec
index 54bf85c..2e8c9ab 100644
--- a/steam.spec
+++ b/steam.spec
@@ -208,7 +208,7 @@ fi
%{_prefix}/lib/systemd/user.conf.d/01-steam.conf
%changelog
-* Thu Dec 24 10:30:40 CET 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-4
+* Thu Dec 24 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-4
- Remove pipewire-alsa conditional for RHEL 8.
* Wed Dec 16 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.0.68-3
3 years, 11 months
[steam/el8] Remove pipewire-alsa conditional for RHEL 8
by Simone Caronni
commit 4f8d631bba7c5df43ad6fd6da8272875a309f9dd
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Thu Dec 24 10:30:48 2020 +0100
Remove pipewire-alsa conditional for RHEL 8
steam.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/steam.spec b/steam.spec
index b584cdd..5fb40f1 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.68
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file. udev rules are MIT.
License: Steam License Agreement and MIT
@@ -107,7 +107,7 @@ Requires: libdbusmenu-gtk3%{?_isa} >= 16.04.0
Requires: libatomic%{?_isa}
# Required by Shank
-%if 0%{?fedora} || 0%{?rhel} >= 8
+%if 0%{?fedora}
Requires: (alsa-plugins-pulseaudio%{?_isa} or pipewire-alsa%{?_isa})
%else
Requires: alsa-plugins-pulseaudio%{?_isa}
@@ -208,6 +208,9 @@ fi
%{_prefix}/lib/systemd/user.conf.d/01-steam.conf
%changelog
+* Thu Dec 24 10:30:40 CET 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-4
+- Remove pipewire-alsa conditional for RHEL 8.
+
* Wed Dec 16 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.0.68-3
- Switch to boolean deps for pipewire/pa alsa support
3 years, 11 months
[steam/el7] Remove pipewire-alsa conditional for RHEL 8
by Simone Caronni
commit 93ac5b440b3b9846b39f6c67490d1c55b4145360
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Thu Dec 24 10:30:48 2020 +0100
Remove pipewire-alsa conditional for RHEL 8
steam.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/steam.spec b/steam.spec
index ae38d5e..54bf85c 100644
--- a/steam.spec
+++ b/steam.spec
@@ -3,7 +3,7 @@
Name: steam
Version: 1.0.0.68
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Installer for the Steam software distribution service
# Redistribution and repackaging for Linux is allowed, see license file. udev rules are MIT.
License: Steam License Agreement and MIT
@@ -107,7 +107,7 @@ Requires: libdbusmenu-gtk3%{?_isa} >= 16.04.0
Requires: libatomic%{?_isa}
# Required by Shank
-%if 0%{?fedora} || 0%{?rhel} >= 8
+%if 0%{?fedora}
Requires: (alsa-plugins-pulseaudio%{?_isa} or pipewire-alsa%{?_isa})
%else
Requires: alsa-plugins-pulseaudio%{?_isa}
@@ -208,6 +208,9 @@ fi
%{_prefix}/lib/systemd/user.conf.d/01-steam.conf
%changelog
+* Thu Dec 24 10:30:40 CET 2020 Simone Caronni <negativo17(a)gmail.com> - 1.0.0.68-4
+- Remove pipewire-alsa conditional for RHEL 8.
+
* Wed Dec 16 2020 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.0.68-3
- Switch to boolean deps for pipewire/pa alsa support
3 years, 11 months
[nvidia-340xx-kmod] Patch for kernel-5.10.0
by Thaison Nguyen
commit 4b83baf53224f7a78291e673f7eb3b15b1b4c526
Author: Thaison Nguyen <thieson08(a)me.com>
Date: Thu Dec 24 08:53:50 2020 +0100
Patch for kernel-5.10.0
kernel-5.10.patch | 24 ++++++++++++++++++++++++
nvidia-340xx-kmod.spec | 7 ++++++-
2 files changed, 30 insertions(+), 1 deletion(-)
---
diff --git a/kernel-5.10.patch b/kernel-5.10.patch
new file mode 100644
index 0000000..ed7441a
--- /dev/null
+++ b/kernel-5.10.patch
@@ -0,0 +1,24 @@
+diff -Naur a/kernel/nv-drm.c b/kernel/nv-drm.c
+--- a/kernel/nv-drm.c 2020-12-15 21:24:49.983592055 +0100
++++ b/kernel/nv-drm.c 2020-12-15 21:27:50.188647605 +0100
+@@ -13,6 +13,7 @@
+ #include "nv-misc.h"
+ #include "os-interface.h"
+ #include "nv-linux.h"
++#include <linux/version.h>
+
+ #if defined(NV_DRM_AVAILABLE)
+
+@@ -365,7 +365,11 @@
+ struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base);
+ int page_count = obj->size >> PAGE_SHIFT;
+
+- return drm_prime_pages_to_sg(nv_obj->pages, page_count);
++ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)
++ return drm_prime_pages_to_sg(obj->dev, nv_obj->pages, page_count);
++ #else
++ return drm_prime_pages_to_sg(nv_obj->pages, page_count);
++ #endif
+ }
+
+ static void* nv_gem_prime_vmap(
diff --git a/nvidia-340xx-kmod.spec b/nvidia-340xx-kmod.spec
index 7af4cc1..b28f0c6 100644
--- a/nvidia-340xx-kmod.spec
+++ b/nvidia-340xx-kmod.spec
@@ -12,7 +12,7 @@ Name: nvidia-340xx-kmod
Epoch: 1
Version: 340.108
# Taken over by kmodtool
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -23,6 +23,7 @@ Patch0: nv-linux-arm.patch
Patch1: kernel-5.7.patch
Patch2: kernel-5.8.patch
Patch3: kernel-5.9.patch
+Patch4: kernel-5.10.patch
BuildRequires: elfutils-libelf-devel
BuildRequires: gcc
@@ -52,6 +53,7 @@ tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{versi
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%patch0 -p1
for kernel_version in %{?kernel_versions} ; do
@@ -82,6 +84,9 @@ done
%{?akmod_install}
%changelog
+* Tue Dec 15 2020 Thaison Nguyen <thieson08(a)me.com> - 1:340.108-9
+- Patch for kernel-5.10.0
+
* Tue Dec 8 2020 Thaison Nguyen <thieson08(a)me.com> - 1:340.108-8
- rebuilt with rpmdev-bumpspec -D
3 years, 11 months