[Bug 1191031] New: kanidm: use %_pam_moduledir
https://bugzilla.suse.com/show_bug.cgi?id=1191031 Bug ID: 1191031 Summary: kanidm: use %_pam_moduledir Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: william.brown@suse.com Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de Blocks: 1190946 Found By: --- Blocker: --- The pam package offers a number of macros to avoid hardcoding directory names in spec files: https://build.opensuse.org/package/view_file/openSUSE:Factory/pam/macros.pam Please consider using at least the %_pam_moduledir macro in order to have the package follow UsrMerge. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191031 https://bugzilla.suse.com/show_bug.cgi?id=1191031#c1 --- Comment #1 from William Brown <william.brown@suse.com> --- Good timing - we have a release shortly, so I'll update this at the same time. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191031 https://bugzilla.suse.com/show_bug.cgi?id=1191031#c2 --- Comment #2 from William Brown <william.brown@suse.com> --- This macro doesn't exist on fedora or leap 15.3, which means I need to add more if conditions to the spec for it. Is there a plan to add it to these other platforms? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191031 https://bugzilla.suse.com/show_bug.cgi?id=1191031#c4 --- Comment #4 from Ludwig Nussel <lnussel@suse.com> --- The macros are part of rawhide. I don't know their plans to backport to stable releases. https://src.fedoraproject.org/rpms/pam/c/06d409fea67b4b6b033c4a1e33a5fea1e71... For SLE someone would have to request it I guess. Anyway you can simplify your spec file using eg %if %{undefined _pam_moduledir} %define _pam_moduledir /lib/modules %endif -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191031 https://bugzilla.suse.com/show_bug.cgi?id=1191031#c5 --- Comment #5 from Ludwig Nussel <lnussel@suse.com> --- /lib/security of course :) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191031 https://bugzilla.suse.com/show_bug.cgi?id=1191031#c6 --- Comment #6 from William Brown <william.brown@suse.com> --- The macro is expanding to /lib64/security on x86_64, is that correct? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1191031 https://bugzilla.suse.com/show_bug.cgi?id=1191031#c7 --- Comment #7 from Ludwig Nussel <lnussel@suse.com> --- Right. %_lib -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com