Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package oddjob-gpupdate for openSUSE:Factory
checked in at 2022-03-07 17:48:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oddjob-gpupdate (Old)
and /work/SRC/openSUSE:Factory/.oddjob-gpupdate.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "oddjob-gpupdate"
Mon Mar 7 17:48:15 2022 rev:2 rq:959990 version:0.2.0+git.5.ed70836
Changes:
--------
--- /work/SRC/openSUSE:Factory/oddjob-gpupdate/oddjob-gpupdate.changes
2021-08-04 22:29:22.309766346 +0200
+++
/work/SRC/openSUSE:Factory/.oddjob-gpupdate.new.1958/oddjob-gpupdate.changes
2022-03-07 17:49:05.179082673 +0100
@@ -1,0 +2,6 @@
+Wed Mar 02 12:51:54 UTC 2022 - David Mulder <[email protected]>
+
+- oddjob-gpupdate: use %_pam_moduledir; (bsc#1191041).
+- execl requires the exe as the first arg.
+
+-------------------------------------------------------------------
Old:
----
oddjob-gpupdate-0.2.0+git.3.85c13a8.tar.bz2
New:
----
oddjob-gpupdate-0.2.0+git.5.ed70836.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ oddjob-gpupdate.spec ++++++
--- /var/tmp/diff_new_pack.8ScpkI/_old 2022-03-07 17:49:05.775082500 +0100
+++ /var/tmp/diff_new_pack.8ScpkI/_new 2022-03-07 17:49:05.779082499 +0100
@@ -1,7 +1,7 @@
#
# spec file for package oddjob-gpupdate
#
-# Copyright (c) 2021 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
@@ -17,23 +17,23 @@
Name: oddjob-gpupdate
-Version: 0.2.0+git.3.85c13a8
+Version: 0.2.0+git.5.ed70836
Release: 0
Summary: An oddjob helper which applies group policy objects
License: BSD-3-Clause
-URL: https://github.com/altlinux/oddjob-gpupdate.git
+URL: https://github.com/openSUSE/oddjob-gpupdate.git
Source: %{name}-%{version}.tar.bz2
Group: System/Servers
Requires: oddjob
-BuildRequires: oddjob
BuildRequires: autoconf
-BuildRequires: libtool
-BuildRequires: xmlto
BuildRequires: dbus-1-devel
+BuildRequires: libselinux-devel
+BuildRequires: libtool
BuildRequires: libxml2-devel
+BuildRequires: oddjob
BuildRequires: pam-devel
-BuildRequires: libselinux-devel
+BuildRequires: xmlto
%description
This package contains the oddjob helper which can be used by the
@@ -55,11 +55,6 @@
%install
%makeinstall
-mkdir -p %buildroot/%_lib/security
-mv %buildroot%_libdir/security/pam_oddjob_gpupdate.so \
-%buildroot/%_lib/security/
-rm %buildroot%_libdir/security/pam_oddjob_gpupdate.la
-
%post
if test $1 -eq 1 ; then
killall -HUP dbus-daemon 2>&1 > /dev/null
@@ -71,7 +66,8 @@
%files
%doc COPYING src/gpupdatefor src/gpupdateforme
%_libexecdir/oddjob/gpupdate
-/%_lib/security/pam_oddjob_gpupdate.so
+%_pam_moduledir/pam_oddjob_gpupdate.so
+%exclude %_pam_moduledir/pam_oddjob_gpupdate.la
%_mandir/*/pam_oddjob_gpupdate.*
%_mandir/*/oddjob-gpupdate.*
%_mandir/*/oddjobd-gpupdate.*
++++++ _service ++++++
--- /var/tmp/diff_new_pack.8ScpkI/_old 2022-03-07 17:49:05.819082487 +0100
+++ /var/tmp/diff_new_pack.8ScpkI/_new 2022-03-07 17:49:05.823082487 +0100
@@ -1,6 +1,6 @@
<services>
<service name="tar_scm" mode="disabled">
- <param
name="url">https://github.com/dmulder/oddjob-gpupdate.git/</param>
+ <param
name="url">https://github.com/openSUSE/oddjob-gpupdate.git/</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param
name="versionformat">@PARENT_TAG@+git.@TAG_OFFSET@.%h</param>
@@ -10,6 +10,11 @@
<param name="exclude">.git</param>
</service>
+ <service name="extract_file" mode="disabled">
+ <param name="archive">oddjob-gpupdate*.tar</param>
+ <param
name="files">oddjob-gpupdate-*/oddjob-gpupdate.spec</param>
+ </service>
+
<service name="set_version" mode="disabled">
<param name="basename">oddjob-gpupdate</param>
<param name="regex">^oddjob-gpupdate-([^/]+)</param>
++++++ oddjob-gpupdate-0.2.0+git.3.85c13a8.tar.bz2 ->
oddjob-gpupdate-0.2.0+git.5.ed70836.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oddjob-gpupdate-0.2.0+git.3.85c13a8/oddjob-gpupdate.spec
new/oddjob-gpupdate-0.2.0+git.5.ed70836/oddjob-gpupdate.spec
--- old/oddjob-gpupdate-0.2.0+git.3.85c13a8/oddjob-gpupdate.spec
2021-08-03 17:06:26.000000000 +0200
+++ new/oddjob-gpupdate-0.2.0+git.5.ed70836/oddjob-gpupdate.spec
2022-03-02 13:47:14.000000000 +0100
@@ -1,37 +1,49 @@
-%define _unpackaged_files_terminate_build 1
-
-Name: oddjob-gpupdate
-Version: 0.2.0
-Release: alt1
-Summary: An oddjob helper which applies group policy objects
-
-Group: System/Servers
-License: %bsdstyle
-Url: https://github.com/altlinux/oddjob-gpupdate.git
-
-Source: %name-%version.tar
-Patch: %name-%version-alt.patch
-
-Requires: oddjob
-
-BuildRequires(pre): rpm-build-licenses
-
-BuildRequires: xmlto
-BuildRequires: libdbus-devel
-BuildRequires: libxml2-devel
-BuildRequires: libpam0-devel
-BuildRequires: libselinux-devel
+#
+# spec file for package oddjob-gpupdate
+#
+# 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+Name: oddjob-gpupdate
+Version: 0.2.0
+Release: 0
+Summary: An oddjob helper which applies group policy objects
+License: BSD-3-Clause
+URL: https://github.com/openSUSE/oddjob-gpupdate.git
+Source: %{name}-%{version}.tar.bz2
+Group: System/Servers
+Requires: oddjob
+
+BuildRequires: autoconf
+BuildRequires: dbus-1-devel
+BuildRequires: libselinux-devel
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: oddjob
+BuildRequires: pam-devel
+BuildRequires: xmlto
%description
This package contains the oddjob helper which can be used by the
-pam_oddjob_gpupdate module to applies group policy objects at login-time.
+pam_oddjob_gpupdate module to apply group policy objects at login-time.
%prep
%setup
-%patch -p1
%build
-%autoreconf
+autoreconf -if
%configure \
--disable-static \
--enable-pie \
@@ -41,23 +53,21 @@
%make_build
%install
-%makeinstall_std
-
-mkdir -p %buildroot/%_lib/security
-mv %buildroot%_libdir/security/pam_oddjob_gpupdate.so \
-%buildroot/%_lib/security/
-rm %buildroot%_libdir/security/pam_oddjob_gpupdate.la
+%makeinstall
%post
-%post_service oddjobd
-
-%preun
-%preun_service oddjobd
+if test $1 -eq 1 ; then
+ killall -HUP dbus-daemon 2>&1 > /dev/null
+fi
+if [ -f /var/lock/subsys/oddjobd ] ; then
+ /bin/dbus-send --system --dest=com.redhat.oddjob /com/redhat/oddjob
com.redhat.oddjob.reload
+fi
%files
%doc COPYING src/gpupdatefor src/gpupdateforme
%_libexecdir/oddjob/gpupdate
-/%_lib/security/pam_oddjob_gpupdate.so
+%_pam_moduledir/pam_oddjob_gpupdate.so
+%exclude %_pam_moduledir/pam_oddjob_gpupdate.la
%_mandir/*/pam_oddjob_gpupdate.*
%_mandir/*/oddjob-gpupdate.*
%_mandir/*/oddjobd-gpupdate.*
@@ -65,4 +75,3 @@
%config(noreplace) %_sysconfdir/oddjobd.conf.d/oddjobd-gpupdate.conf
%changelog
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oddjob-gpupdate-0.2.0+git.3.85c13a8/src/gpupdate.c
new/oddjob-gpupdate-0.2.0+git.5.ed70836/src/gpupdate.c
--- old/oddjob-gpupdate-0.2.0+git.3.85c13a8/src/gpupdate.c 2021-08-03
17:06:26.000000000 +0200
+++ new/oddjob-gpupdate-0.2.0+git.5.ed70836/src/gpupdate.c 2022-03-02
13:47:14.000000000 +0100
@@ -85,9 +85,9 @@
return 1;
case 0:
if (target == Computer) {
- execl(exe, "--target=Computer", NULL);
+ execl(exe, exe, "--target=Computer", NULL);
} else if (target == User) {
- execl(exe, "--target=User", "-U", user, NULL);
+ execl(exe, exe, "--target=User", "-U", user, NULL);
}
return 3;
default: