Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pam-config for openSUSE:Factory 
checked in at 2026-11-20 14:43:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam-config (Old)
 and      /work/SRC/openSUSE:Factory/.pam-config.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam-config"

Fri Nov 20 14:43:28 2026 rev:114 rq:1398133 version:2.14+git.20260216

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam-config/pam-config.changes    2026-02-17 
16:38:55.690302844 +0100
+++ /work/SRC/openSUSE:Factory/.pam-config.new.1251/pam-config.changes  
2026-11-20 14:43:37.103508114 +0100
@@ -1,0 +2,18 @@
+Sun Oct 25 16:19:34 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Replace the deprecated PreReq tags with Requires(post): pam
+  and pam-extra are consumed by the %post/%posttrans scriptlets,
+  which run pam-config itself
+- Declare gcc and make as BuildRequires: the package compiles C
+  sources and neither is part of the default buildroot
+- Drop the obsolete Group tag
+- Explain in pam-config-rpmlintrc why its filter stays: the
+  /etc/pam.d/common-*-pc entries are %ghost files that pam-config
+  generates in /etc at install time; the shipped static vendor
+  copies live in /usr/lib/pam.d in the pam package, so the
+  move-to-usr rule for shipped files does not apply to them
+- Document in the spec why the generated common-*-pc files use
+  plain %config and not %config(noreplace): pam-config rewrites
+  them on every run
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pam-config.spec ++++++
--- /var/tmp/diff_new_pack.ZHy3VH/_old  2026-11-20 14:43:39.624614367 +0100
+++ /var/tmp/diff_new_pack.ZHy3VH/_new  2026-11-20 14:43:39.627614494 +0100
@@ -21,18 +21,19 @@
 Release:        0
 Summary:        Utility to modify common PAM configuration files
 License:        GPL-2.0-only
-Group:          System/Management
 URL:            https://github.com/SUSE/pam-config
 Source:         %{name}-%{version}.tar.xz
-# Do not show some rpmlint errors.
+# Filter for one rpmlint check; the reason is recorded in the file itself.
 Source1:        pam-config-rpmlintrc
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  docbook-xsl-stylesheets
+BuildRequires:  gcc
+BuildRequires:  make
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libeconf)
-PreReq:         pam >= 1.3.0
-PreReq:         pam-extra
+Requires(post): pam >= 1.3.0
+Requires(post): pam-extra
 Recommends:     pam_pwquality
 
 %description
@@ -43,7 +44,7 @@
 add/adjust/remove other PAM modules and their options.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 ./autogen.sh
@@ -87,6 +88,9 @@
 %license COPYING
 %{_sbindir}/pam-config
 %{_mandir}/man8/pam-config.8%{?ext_man}
+# The common-*-pc files are generated by pam-config in %post and rewritten
+# on every run ("manual changes will be overwritten"), so they carry plain
+# %config, not %config(noreplace).
 %ghost %config %{_sysconfdir}/pam.d/common-account-pc
 %ghost %config %{_sysconfdir}/pam.d/common-auth-pc
 %ghost %config %{_sysconfdir}/pam.d/common-password-pc

++++++ pam-config-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.ZHy3VH/_old  2026-11-20 14:43:39.736619088 +0100
+++ /var/tmp/diff_new_pack.ZHy3VH/_new  2026-11-20 14:43:39.744619425 +0100
@@ -1,2 +1,7 @@
+# The /etc/pam.d/common-*-pc entries are %ghost: pam-config generates
+# the files in /etc/pam.d at install time, and the static vendor copies
+# live in /usr/lib/pam.d (shipped by the pam package). No file content
+# is shipped in /etc by this package, so the move-to-usr rule for
+# shipped files does not apply to these entries.
 addFilter('E: filelist-forbidden-move-to-usr /etc/pam.d/common*')
 

Reply via email to