Hello community,

here is the log from the commit of package pesign-obs-integration for 
openSUSE:Factory checked in at 2019-08-07 13:55:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pesign-obs-integration (Old)
 and      /work/SRC/openSUSE:Factory/.pesign-obs-integration.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pesign-obs-integration"

Wed Aug  7 13:55:40 2019 rev:34 rq:720134 version:10.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/pesign-obs-integration/pesign-obs-integration.changes
    2019-06-12 13:03:04.341264942 +0200
+++ 
/work/SRC/openSUSE:Factory/.pesign-obs-integration.new.9556/pesign-obs-integration.changes
  2019-08-07 13:55:42.892856629 +0200
@@ -1,0 +2,6 @@
+Thu Aug  1 02:41:28 UTC 2019 - Gary Ching-Pang Lin <[email protected]>
+
+- Add 0001-Initialize-compress-variable.patch to initialize
+  $compress in pesign-gen-repackage-spec to avoid warning
+
+-------------------------------------------------------------------

New:
----
  0001-Initialize-compress-variable.patch

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

Other differences:
------------------
++++++ pesign-obs-integration.spec ++++++
--- /var/tmp/diff_new_pack.0fg3wi/_old  2019-08-07 13:55:43.340856624 +0200
+++ /var/tmp/diff_new_pack.0fg3wi/_new  2019-08-07 13:55:43.340856624 +0200
@@ -34,6 +34,7 @@
 Source:         %{name}_%{version}.tar.gz
 Patch1:         0001-Passthrough-license-tag.patch
 Patch2:         0001-Add-support-for-kernel-module-compression.patch
+Patch3:         0001-Initialize-compress-variable.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # suse-module-tools <= 15.0.10 contains modsign-verify
 Requires:       suse-module-tools >= 15.0.10
@@ -46,6 +47,7 @@
 %setup -D -n %{name}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 

++++++ 0001-Initialize-compress-variable.patch ++++++
>From 1c61b9001cf2053df9d05fa518b2c2a9be99f903 Mon Sep 17 00:00:00 2001
From: Gary Lin <[email protected]>
Date: Thu, 1 Aug 2019 10:38:51 +0800
Subject: [PATCH] Initialize compress variable

$compress in pesign-gen-repackage-spec wasn't initialized and this may
caused a warning like this:

Use of uninitialized value $compress in string eq at 
/usr/lib/rpm/pesign/pesign-gen-repackage-spec line 422.

Signed-off-by: Gary Lin <[email protected]>
---
 pesign-gen-repackage-spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pesign-gen-repackage-spec b/pesign-gen-repackage-spec
index fef0a9d..fa0935e 100755
--- a/pesign-gen-repackage-spec
+++ b/pesign-gen-repackage-spec
@@ -30,7 +30,7 @@ my $directory;
 my $output = ".";
 my $cert_subpackage;
 my $kmp_basename;
-my $compress;
+my $compress = "";
 my @rpms;
 
 $ENV{LC_ALL} = "en_US.UTF-8";
-- 
2.22.0


Reply via email to