Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libpulp for openSUSE:Factory checked in at 2026-02-11 19:42:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpulp (Old) and /work/SRC/openSUSE:Factory/.libpulp.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpulp" Wed Feb 11 19:42:52 2026 rev:16 rq:1331683 version:0.3.17 Changes: -------- --- /work/SRC/openSUSE:Factory/libpulp/libpulp.changes 2025-10-03 15:45:30.745713959 +0200 +++ /work/SRC/openSUSE:Factory/.libpulp.new.1670/libpulp.changes 2026-02-11 19:42:54.466128615 +0100 @@ -1,0 +2,5 @@ +Wed Jan 28 01:21:00 UTC 2026 - Giuliano Belinassi <[email protected]> + +- Update scripts to comply with Immutable Mode (jsc#PED-14756). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpulp.spec ++++++ --- /var/tmp/diff_new_pack.ZqaTkE/_old 2026-02-11 19:42:55.374166997 +0100 +++ /var/tmp/diff_new_pack.ZqaTkE/_new 2026-02-11 19:42:55.374166997 +0100 @@ -40,6 +40,7 @@ BuildRequires: python3-pexpect BuildRequires: python3-psutil BuildRequires: libseccomp-devel +BuildRequires: systemd # Disable ptrace_scope on tumbleweed %if 0%{?suse_version} >= 1600 @@ -106,9 +107,6 @@ install -D -m0644 %{SOURCE3} %{buildroot}%{_prefix}/etc/tukit.conf.d/selinux-ulp.conf install -D -m0644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/ulp-tmp.conf -# Create /var/livepatches -mkdir -p %{buildroot}/var/livepatches/ - # Convert identical files into hardlinks. %fdupes %{buildroot}/%{_prefix} # Remove .la and .so files. libpulp.so is not supposed to be linked @@ -121,6 +119,9 @@ %define ld_so_conf /etc/ld.so.conf %define addline include /var/livepatches/ld.so.conf +# Create /var/livepatches +systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/ulp-tmp.conf + # There are special logic needed in sle-micro onwards. if [ "$TRANSACTIONAL_UPDATE" = "true" ] && [ "x$TRANSACTIONAL_UPDATE_ROOT" != "x" ]; then # Add instance of /var/livepatches if it doesn't already exist. @@ -157,6 +158,5 @@ %{_prefix}/etc/tukit.conf.d/selinux-ulp.conf %{_prefix}/etc/tukit.conf.d %{_prefix}/etc -/var/livepatches %license LICENSE ++++++ libpulp-0.3.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpulp-0.3.17/scripts/setup_package.sh new/libpulp-0.3.17/scripts/setup_package.sh --- old/libpulp-0.3.17/scripts/setup_package.sh 2025-10-02 15:28:09.000000000 +0200 +++ new/libpulp-0.3.17/scripts/setup_package.sh 2026-01-27 23:17:49.000000000 +0100 @@ -142,35 +142,6 @@ echo ${tokens[0]} } -get_sle_version_from_package_name() -{ - local package=$1 - # Declare a hash table mapping version number to a label used in - # download.suse.de - - declare -A sle_hash=( ["150000"]="SLE-15" - ["150100"]="SLE-15-SP1" - ["150200"]="SLE-15-SP2" - ["150300"]="SLE-15-SP3" - ["150400"]="SLE-15-SP4" - ["150500"]="SLE-15-SP5" - ["150600"]="SLE-15-SP6" - ["150700"]="SLE-15-SP7" - ["slfo.1.1"]="SLFO:1.1" - ["slfo.1.2"]="SLFO:1.2" - ) - - local version=$(echo "$1" | grep -Eo "($SLE_VERSION_REGEX)") - local sle_version=${sle_hash[$version]} - - if [ "x$sle_version" = "x" ]; then - echo "Unsupported SLE package version $version" >> /dev/stderr - exit 1 - fi - - echo $sle_version -} - extract_lib_package_names() { local file=$1 @@ -181,7 +152,11 @@ for lib in ${interesting_lines}; do lib=${lib%?} # Remove last " from string. - final="$final $lib" + + # Do not add livepatch packages to the list. + if [[ "$lib" != *"livepatch"* ]]; then + final="$final $lib" + fi done echo $final @@ -326,8 +301,6 @@ local ipa_clones_list=$(get_list_of_ipa_clones "$*") local old_url=$URL - local sle_ver=$(get_sle_version_from_package_name $1) - set_url_platform $PLATFORM $PRODUCT $ARCH "ipa-clones" parallel_download_packages "$ipa_clones_list" } @@ -463,7 +436,7 @@ local debug=$(match_so_to_debuginfo $so) if [ "$debug" == "" ]; then - exit 1 + continue fi # Run the ulp extract command on both the library and debuginfo. @@ -491,7 +464,7 @@ find . -type f -name "*.txt" -delete # Delete any broken symlinks that may have been left after we deleted stuff. - find . -xtype l -exec rm {} \; + find . -xtype l -delete fi # Delete empty directories left. @@ -714,11 +687,11 @@ done for package in $all_names; do - local target=$(LANG=C date --date="today - 13 months") + local target=$(LANG=C date --date="today - 13 months" +%s) # Check if package time is in the supported range. if [[ $SETUP_UNSUPPORTED_LIBRARIES -eq 0 && \ - "$(LANG=C date -r $package)" < "$target" ]]; then + "$(LANG=C date -r $package +%s)" < "$target" ]]; then echo "Dropping $package because it is older than 13 months." continue; fi ++++++ rpm-helper ++++++ --- /var/tmp/diff_new_pack.ZqaTkE/_old 2026-02-11 19:42:55.870187963 +0100 +++ /var/tmp/diff_new_pack.ZqaTkE/_new 2026-02-11 19:42:55.874188132 +0100 @@ -63,7 +63,10 @@ cp -rZ "$INSTALL_DIR" "$TRIGGER_PATH" fi - ulp trigger --recursive -r 100 --timeout 200 --revert-all=target \ + echo "Files in TRIGGER_PATH:" + find $TRIGGER_PATH + + ulp trigger -v --recursive -r 100 --timeout 200 --revert-all=target \ "$TRIGGER_PATH/*.so" echo "ulp trigger executed." ++++++ ulp-tmp.conf ++++++ --- /var/tmp/diff_new_pack.ZqaTkE/_old 2026-02-11 19:42:55.958191683 +0100 +++ /var/tmp/diff_new_pack.ZqaTkE/_new 2026-02-11 19:42:55.966192021 +0100 @@ -1,2 +1,4 @@ -R /var/livepatches/* +# Create an empty livepatches path directory on OSes using systemd. + +d /var/livepatches 0755 root root
