Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sharutils for openSUSE:Factory 
checked in at 2022-05-08 21:52:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sharutils (Old)
 and      /work/SRC/openSUSE:Factory/.sharutils.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sharutils"

Sun May  8 21:52:29 2022 rev:31 rq:975348 version:4.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/sharutils/sharutils.changes      2020-02-07 
15:52:41.963454618 +0100
+++ /work/SRC/openSUSE:Factory/.sharutils.new.1538/sharutils.changes    
2022-05-08 21:52:42.911490510 +0200
@@ -1,0 +2,5 @@
+Wed Apr 20 20:54:04 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- add sharutils-4.14.2-Pass-compilation-with-Werror-format-security.patch
+
+-------------------------------------------------------------------

New:
----
  sharutils-4.14.2-Pass-compilation-with-Werror-format-security.patch

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

Other differences:
------------------
++++++ sharutils.spec ++++++
--- /var/tmp/diff_new_pack.e3aiKQ/_old  2022-05-08 21:52:43.379491099 +0200
+++ /var/tmp/diff_new_pack.e3aiKQ/_new  2022-05-08 21:52:43.387491109 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sharutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,20 +22,20 @@
 Summary:        GNU shar utilities
 License:        GPL-3.0-or-later
 Group:          Productivity/Archiving/Compression
-URL:            http://www.gnu.org/software/sharutils/
-Source0:        ftp://ftp.gnu.org/gnu/sharutils/sharutils-%{version}.tar.xz
-Source1:        ftp://ftp.gnu.org/gnu/sharutils/sharutils-%{version}.tar.xz.sig
+URL:            https://www.gnu.org/software/sharutils/
+Source0:        https://ftp.gnu.org/gnu/sharutils/sharutils-%{version}.tar.xz
+Source1:        
https://ftp.gnu.org/gnu/sharutils/sharutils-%{version}.tar.xz.sig
 Source2:        %{name}.keyring
 Patch0:         sharutils-testsuite.diff
 Patch1:         sharutils-CVE-2018-1000097-fix_buffer_overflow.patch
 Patch2:         gnulib-libio.patch
+Patch3:         
sharutils-4.14.2-Pass-compilation-with-Werror-format-security.patch
 BuildRequires:  libopenssl-devel
 BuildRequires:  xz
 Requires(pre):  %{install_info_prereq}
 Requires(pre):  coreutils
 Provides:       sharutil = %{version}
 Obsoletes:      sharutil < %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 This is the set of GNU shar utilities.
@@ -55,6 +55,7 @@
 %patch0
 %patch1
 %patch2 -p1
+%patch3 -p1
 chmod +w src/scripts.x
 
 %build
@@ -65,13 +66,13 @@
 %configure \
        --with-openssl
 
-make %{?_smp_mflags}
+%make_build
 
 %check
-make %{?_smp_mflags} check
+%make_build check
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 %find_lang %{name}
 
 %post
@@ -81,10 +82,8 @@
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
 %files lang -f %{name}.lang
-%defattr(-, root, root)
 
 %files
-%defattr(-, root, root)
 %doc README NEWS THANKS
 %license COPYING
 %{_bindir}/*

++++++ sharutils-4.14.2-Pass-compilation-with-Werror-format-security.patch 
++++++
>From 851a240296ad2ec2a5f67e84d284d3bf7882745e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 15 Dec 2014 11:20:32 +0100
Subject: [PATCH] Pass compilation with -Werror=format-security
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

<https://bugzilla.redhat.com/show_bug.cgi?id=1037323>

Signed-off-by: Petr P??sa?? <ppi...@redhat.com>
---
 libopts/genshell.h  | 2 +-
 src/shar-opts.h     | 2 +-
 src/unshar-opts.h   | 2 +-
 src/uudecode-opts.h | 2 +-
 src/uuencode-opts.h | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libopts/genshell.h b/libopts/genshell.h
index 1c18735..0a69bc2 100644
--- a/libopts/genshell.h
+++ b/libopts/genshell.h
@@ -168,7 +168,7 @@ extern tOptions genshelloptOptions;
 #   endif
 
 # ifndef ATTRIBUTE_FORMAT_ARG
-#   define ATTRIBUTE_FORMAT_ARG(_a)
+#   define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a)))
 # endif
 
 static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1);
diff --git a/src/shar-opts.h b/src/shar-opts.h
index 64f2f12..a32b69d 100644
--- a/src/shar-opts.h
+++ b/src/shar-opts.h
@@ -374,7 +374,7 @@ extern tOptions sharOptions;
 #   endif
 
 # ifndef ATTRIBUTE_FORMAT_ARG
-#   define ATTRIBUTE_FORMAT_ARG(_a)
+#   define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a)))
 # endif
 
 static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1);
diff --git a/src/unshar-opts.h b/src/unshar-opts.h
index ae697af..19e8be7 100644
--- a/src/unshar-opts.h
+++ b/src/unshar-opts.h
@@ -211,7 +211,7 @@ extern tOptions unsharOptions;
 #   endif
 
 # ifndef ATTRIBUTE_FORMAT_ARG
-#   define ATTRIBUTE_FORMAT_ARG(_a)
+#   define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a)))
 # endif
 
 static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1);
diff --git a/src/uudecode-opts.h b/src/uudecode-opts.h
index d457488..fd11a20 100644
--- a/src/uudecode-opts.h
+++ b/src/uudecode-opts.h
@@ -189,7 +189,7 @@ extern tOptions uudecodeOptions;
 #   endif
 
 # ifndef ATTRIBUTE_FORMAT_ARG
-#   define ATTRIBUTE_FORMAT_ARG(_a)
+#   define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a)))
 # endif
 
 static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1);
diff --git a/src/uuencode-opts.h b/src/uuencode-opts.h
index 7c7ed78..41352ea 100644
--- a/src/uuencode-opts.h
+++ b/src/uuencode-opts.h
@@ -185,7 +185,7 @@ extern tOptions uuencodeOptions;
 #   endif
 
 # ifndef ATTRIBUTE_FORMAT_ARG
-#   define ATTRIBUTE_FORMAT_ARG(_a)
+#   define ATTRIBUTE_FORMAT_ARG(_a) __attribute__ ((format_arg(_a)))
 # endif
 
 static inline char* aoGetsText(char const* pz) ATTRIBUTE_FORMAT_ARG(1);
-- 
1.9.3

Reply via email to