commit pam_mktemp for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pam_mktemp for openSUSE:Factory checked in at 2021-11-02 19:18:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pam_mktemp (Old) and /work/SRC/openSUSE:Factory/.pam_mktemp.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pam_mktemp" Tue Nov 2 19:18:39 2021 rev:20 rq:928282 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pam_mktemp/pam_mktemp.changes 2012-01-04 07:25:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pam_mktemp.new.1890/pam_mktemp.changes 2021-11-02 19:18:40.787061637 +0100 @@ -1,0 +2,13 @@ +Wed Oct 27 11:39:42 UTC 2021 - Josef M��llers <josef.moellers@suse.com> + +- Split the install section into an install and a check section. + Otherwise i[345]86 will not build. + +------------------------------------------------------------------- +Mon Oct 4 13:44:39 UTC 2021 - Josef M��llers <josef.moellers@suse.com> + +- Use the %_pam_moduledir macro in pam_mktemp.spec in order to + have the package follow UsrMerge. + [bsc#1190953, pam_mktemp.spec] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pam_mktemp.spec ++++++ --- /var/tmp/diff_new_pack.USq3O8/_old 2021-11-02 19:18:41.275062011 +0100 +++ /var/tmp/diff_new_pack.USq3O8/_new 2021-11-02 19:18:41.279062014 +0100 @@ -1,7 +1,7 @@ # # spec file for package pam_mktemp # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -12,15 +12,16 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: pam_mktemp -Url: http://www.openwall.com/pam/ +URL: http://www.openwall.com/pam/ BuildRequires: e2fsprogs-devel BuildRequires: pam-devel Requires: pam -Provides: pam-modules:/%_lib/security/pam_mktemp.so +Provides: pam-modules:%{_pam_moduledir}/pam_mktemp.so Version: 1.1.1 Release: 0 Summary: PAM Module to Provide Per-User Private Directories Under /tmp @@ -58,22 +59,15 @@ %{?_smp_mflags} %install -mkdir -p $RPM_BUILD_ROOT/%{_lib}/security -make DESTDIR=$RPM_BUILD_ROOT install -# -# Remove stuff we don't wish to have now: -# -rm -rf $RPM_BUILD_ROOT/usr/{include,lib} -rm -rf $RPM_BUILD_ROOT/%{_lib}/security/*.la -# -# On 64bit archs, we need to move same libraries ourself: -# -if [ %_lib = lib64 ]; then - mv $RPM_BUILD_ROOT/lib/security/* $RPM_BUILD_ROOT/%{_lib}/security/ -fi +make DESTDIR=%{buildroot} SHARED_LIBDIR=/"%{_lib}" DEVEL_LIBDIR="%{_libdir}" SECUREDIR="%{_pam_moduledir}" install +# Remove stuff we don't wish to have now. Note that "make" seems to install library files in /usr/lib! +rm -rf %{buildroot}%{_prefix}/include/security/*.h %{buildroot}/usr/lib/lib* + +%check # Check for module problems. Specifically, check that every module we just # installed can actually be loaded by a minimal PAM-aware application. -for module in $RPM_BUILD_ROOT/%{_lib}/security/pam*.so ; do +export LD_LIBRARY_PATH="%{buildroot}/%{_lib}/" +for module in %{buildroot}%{_pam_moduledir}/pam*.so ; do if ! sh $RPM_SOURCE_DIR/dlopen.sh -lpam -ldl ${module} ; then exit 1 fi @@ -82,6 +76,6 @@ %files %defattr(-,root,root,755) %doc LICENSE README -%attr(755,root,root) /%{_lib}/security/pam_*.so +%attr(755,root,root) %{_pam_moduledir}/pam_*.so %changelog
participants (1)
-
Source-Sync