Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package restorecond for openSUSE:Factory 
checked in at 2021-03-25 14:51:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/restorecond (Old)
 and      /work/SRC/openSUSE:Factory/.restorecond.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "restorecond"

Thu Mar 25 14:51:58 2021 rev:8 rq:879085 version:3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/restorecond/restorecond.changes  2020-10-06 
17:09:35.461448545 +0200
+++ /work/SRC/openSUSE:Factory/.restorecond.new.2401/restorecond.changes        
2021-03-25 14:51:59.552465159 +0100
@@ -1,0 +2,6 @@
+Tue Mar  9 09:20:47 UTC 2021 - Johannes Segitz <jseg...@suse.com>
+
+- Update to version 3.2
+  * Fix a double-close of a file descriptor
+
+-------------------------------------------------------------------

Old:
----
  restorecond-3.1.tar.gz

New:
----
  restorecond-3.2.tar.gz

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

Other differences:
------------------
++++++ restorecond.spec ++++++
--- /var/tmp/diff_new_pack.5ZLZnX/_old  2021-03-25 14:52:00.580466205 +0100
+++ /var/tmp/diff_new_pack.5ZLZnX/_new  2021-03-25 14:52:00.584466209 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package restorecond
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,15 @@
 #
 
 
-%define libselinux_ver   3.1
+%define libselinux_ver   3.2
 Name:           restorecond
-Version:        3.1
+Version:        3.2
 Release:        0
 Summary:        Daemon to restore SELinux contexts
 License:        GPL-2.0-or-later
 Group:          Productivity/Security
 URL:            https://github.com/SELinuxProject/selinux.git
-Source0:        
https://github.com/SELinuxProject/selinux/releases/download/20200710/restorecond-%{version}.tar.gz
+Source0:        
https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  libselinux-devel >= %{libselinux_ver}
 Requires:       libselinux1 >= %{libselinux_ver}

++++++ restorecond-3.1.tar.gz -> restorecond-3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/restorecond-3.1/VERSION new/restorecond-3.2/VERSION
--- old/restorecond-3.1/VERSION 2020-07-10 17:17:15.000000000 +0200
+++ new/restorecond-3.2/VERSION 2021-03-04 16:42:59.000000000 +0100
@@ -1 +1 @@
-3.1
+3.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/restorecond-3.1/restorecond.desktop 
new/restorecond-3.2/restorecond.desktop
--- old/restorecond-3.1/restorecond.desktop     2020-07-10 17:17:15.000000000 
+0200
+++ new/restorecond-3.2/restorecond.desktop     2021-03-04 16:42:59.000000000 
+0100
@@ -5,3 +5,4 @@
 Type=Application
 StartupNotify=false
 X-GNOME-Autostart-enabled=false
+X-GNOME-HiddenUnderSystemd=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/restorecond-3.1/user.c new/restorecond-3.2/user.c
--- old/restorecond-3.1/user.c  2020-07-10 17:17:15.000000000 +0200
+++ new/restorecond-3.2/user.c  2021-03-04 16:42:59.000000000 +0100
@@ -230,9 +230,10 @@
                return -1;
        }
        if (flock(local_lock_fd, LOCK_EX | LOCK_NB) < 0) {
-               close(local_lock_fd);
                if (debug_mode)
                        perror("flock");
+               close(local_lock_fd);
+               local_lock_fd = -1;
                return -1;
        }
        /* watch for stdin/terminal going away */

Reply via email to