Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvidia-open-driver-G06-signed for 
openSUSE:Factory checked in at 2025-10-16 17:38:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvidia-open-driver-G06-signed (Old)
 and      /work/SRC/openSUSE:Factory/.nvidia-open-driver-G06-signed.new.18484 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nvidia-open-driver-G06-signed"

Thu Oct 16 17:38:44 2025 rev:80 rq:1311666 version:580.95.05

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/nvidia-open-driver-G06-signed/nvidia-open-driver-G06-signed.changes
      2025-10-06 18:09:08.137809333 +0200
+++ 
/work/SRC/openSUSE:Factory/.nvidia-open-driver-G06-signed.new.18484/nvidia-open-driver-G06-signed.changes
   2025-10-16 17:38:53.896788099 +0200
@@ -1,0 +2,20 @@
+Thu Oct 16 08:54:52 UTC 2025 - Stefan Dirsch <[email protected]>
+
+- renamed check to %name-check package
+
+-------------------------------------------------------------------
+Tue Oct 14 13:30:20 UTC 2025 - Stefan Dirsch <[email protected]>
+
+- changed Requires to
+  * nvidia-modprobe = %version
+  * nvidia-persitenced = %version
+  it has been >= before ...
+
+-------------------------------------------------------------------
+Wed Oct  8 16:00:53 UTC 2025 - Stefan Dirsch <[email protected]>
+
+- Check4WrongSupplements.sh
+  * check for wrong Supplements in generated KMPs after build by
+    misusing %post of a dummy "check" subpackage
+
+-------------------------------------------------------------------
@@ -4 +24 @@
-- update non-CUDA variant to 580.95.05
+- update CUDA variant to 580.95.05

New:
----
  Check4WrongSupplements.sh

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nvidia-open-driver-G06-signed.spec ++++++
--- /var/tmp/diff_new_pack.RSFQmo/_old  2025-10-16 17:38:54.616818205 +0200
+++ /var/tmp/diff_new_pack.RSFQmo/_new  2025-10-16 17:38:54.620818371 +0200
@@ -20,6 +20,13 @@
 %define cuda_version 580.95.05
 
 %global flavor @BUILD_FLAVOR@%{?nil}
+
+%if "%{flavor}" == "cuda"
+%define check_pkg nvidia-open-driver-G06-signed-cuda-check
+%else
+%define check_pkg nvidia-open-driver-G06-signed-check
+%endif
+
 %if "%{flavor}" == "cuda"
  %if 0%{?suse_version} > 1600
 ExclusiveArch:  do_not_build
@@ -84,6 +91,7 @@
 Source14:       group-source-files.pl
 Source15:       kmp-trigger.sh
 Source17:       kmp-post.sh
+Source18:       Check4WrongSupplements.sh
 BuildRequires:  %{kernel_module_package_buildreqs}
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -163,6 +171,24 @@
 for GeForce 16 series (GTX 16xx) and newer GPUs, i.e. Turing GPU family
 and newer (Turing, Ampere, Ada Lavelace, Hopper, Blackwell, ...).
 
+%package -n %check_pkg
+Summary:        Post-build RPM inspection
+Group:          System/Tools
+BuildArch:      noarch
+Requires:       bash
+
+%description -n %check_pkg
+This subpackage runs post-build verification on generated RPMs.
+
+%files -n %check_pkg
+%dir /usr/share/doc/packages/%{check_pkg}
+/usr/share/doc/packages/%{check_pkg}/dummy.txt
+
+%post -n %check_pkg
+echo "=== Running post-build RPM inspection (%{check_pkg} subpackage) ==="
+ls -l %{_sourcedir}
+/bin/sh -x %{_sourcedir}/Check4WrongSupplements.sh %{_rpmdir}
+
 %prep
 %autosetup -p1 -n open-gpu-kernel-modules-%{version}
 
@@ -232,3 +258,6 @@
     %fdupes -s 
%{buildroot}%{_prefix}/src/kernel-modules/nvidia-%{version}-${flavor}
 done
 
+mkdir -p %{buildroot}/usr/share/doc/packages/%{check_pkg}
+echo "RPM %{check_pkg} package" > 
%{buildroot}/usr/share/doc/packages/%{check_pkg}/dummy.txt
+

++++++ Check4WrongSupplements.sh ++++++
#!/bin/sh

if [ $# -ne 1 ]; then
  echo "$0 <rpmdir>"
  exit 1
fi

rpmdir=$1
shift

for rpm in $(find "${rpmdir}" -type f -name "*.rpm"); do
  rpm --supplements -qp $rpm | grep ':pci:v000010DEd\*sv'
  if [ $? -eq 0 ]; then
    echo "*** Wrong supplements in $rpm; again all NVIDIA PCI IDs! ***"
    exit 1
  fi
done



++++++ pesign-copy-sources ++++++
--- /var/tmp/diff_new_pack.RSFQmo/_old  2025-10-16 17:38:54.796825731 +0200
+++ /var/tmp/diff_new_pack.RSFQmo/_new  2025-10-16 17:38:54.800825898 +0200
@@ -1,4 +1,5 @@
 pci_ids-%{version}
 my-find-supplements
+Check4WrongSupplements.sh
 
 

++++++ preamble ++++++
--- /var/tmp/diff_new_pack.RSFQmo/_old  2025-10-16 17:38:54.836827403 +0200
+++ /var/tmp/diff_new_pack.RSFQmo/_new  2025-10-16 17:38:54.844827738 +0200
@@ -13,8 +13,8 @@
 Obsoletes: nvidia-open-driver-G06-signed-cuda-kmp-%1 <= 560.35.03
 Obsoletes: nvidia-open-driver-G06-signed-cuda-kmp <= 560.35.03
 %if 0%{?suse_version} < 1600 && 0%{?sle_version} < 150600 && !0%{?is_opensuse}
-Requires: nvidia-modprobe >= %{-v*}
-Requires: nvidia-persistenced >= %{-v*}
+Requires: nvidia-modprobe = %{-v*}
+Requires: nvidia-persistenced = %{-v*}
 Requires: nvidia-modprobe-cuda-lt-sp6
 Requires: nvidia-persistenced-cuda-lt-sp6
 %endif

Reply via email to