Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rsync for openSUSE:Factory checked in at 2026-10-28 17:45:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rsync (Old) and /work/SRC/openSUSE:Factory/.rsync.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rsync" Wed Oct 28 17:45:44 2026 rev:101 rq:1393127 version:3.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rsync/rsync.changes 2026-10-02 23:03:11.465909425 +0200 +++ /work/SRC/openSUSE:Factory/.rsync.new.2252680/rsync.changes 2026-10-28 17:45:52.817388017 +0100 @@ -1,0 +2,20 @@ +Sun Oct 25 15:47:50 UTC 2026 - Tomáš Chvátal <[email protected]> + +- Add rsync-direct-interpreters.patch: use direct interpreter + paths, #!/bin/bash for rsync-ssl and #!/usr/bin/perl for + rsyncstats, instead of /usr/bin/env lookups. The scripts + then declare a proper interpreter dependency rather than + relying on PATH resolution at runtime. +- Do not ship rsyncstats twice: the support documentation + is copied without it, the script is installed once in + /usr/bin. +- Drop the unused rsyncd.rc source and the empty init.d and + xinetd.d directory creation; the daemon runs through the + systemd units. +- Drop the grep and sed post requirements, no scriptlet of + this package calls either tool. +- Spec cleanup per the packaging guidelines: drop the + obsolete Group tag and write the library build + requirements in pkgconfig form. + +------------------------------------------------------------------- Old: ---- rsyncd.rc New: ---- rsync-direct-interpreters.patch ----------(New B)---------- New: - Add rsync-direct-interpreters.patch: use direct interpreter paths, #!/bin/bash for rsync-ssl and #!/usr/bin/perl for ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rsync.spec ++++++ --- /var/tmp/diff_new_pack.Sq6juv/_old 2026-10-28 17:45:54.129442935 +0100 +++ /var/tmp/diff_new_pack.Sq6juv/_new 2026-10-28 17:45:54.131443019 +0100 @@ -16,74 +16,67 @@ # +%if 0%{?suse_version} >= 1600 +%define use_python %{primary_python} +%define python_binary %{_bindir}/python%{python_bin_suffix} +%else +%define use_python python311 +%define python_binary %{_bindir}/python3.11 +%endif %if 0%{?suse_version} >= 1550 %bcond_without xxhash %else %bcond_with xxhash %endif - %if 0%{?suse_version} < 1550 %bcond_without gcc11 %else %bcond_with gcc11 %endif - -%if 0%{?suse_version} >= 1600 -%define use_python %{primary_python} -%define python_binary %{_bindir}/python%{python_bin_suffix} -%else -%define use_python python311 -%define python_binary %{_bindir}/python3.11 -%endif - Name: rsync Version: 3.5.1 Release: 0 Summary: Versatile tool for fast incremental file transfer License: GPL-3.0-or-later -Group: Productivity/Networking/Other URL: https://rsync.samba.org/ Source: https://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz Source1: rsyncd Source2: logrotate.rsync Source3: rsyncd.socket -Source4: rsyncd.rc Source5: rsyncd.conf Source6: rsyncd.secrets Source8: rsyncd.service Source9: [email protected] Source10: https://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz.asc Source12: %{name}.keyring - Patch1: rsync-usr-etc.patch Patch2: rsync-run-dir.patch # https://github.com/RsyncProject/rsync/pull/639 Patch3: rsyncd-return-from-list-command-with-0.patch Patch4: rsync-python-3.6-tests.patch Patch5: use-sys.executable.patch +Patch6: rsync-direct-interpreters.patch BuildRequires: %{use_python}-base BuildRequires: autoconf BuildRequires: automake BuildRequires: c++_compiler -BuildRequires: libacl-devel -BuildRequires: libidn2-devel -BuildRequires: liblz4-devel -BuildRequires: libzstd-devel BuildRequires: pkgconfig -BuildRequires: popt-devel BuildRequires: python-rpm-macros BuildRequires: systemd-rpm-macros -BuildRequires: zlib-devel +BuildRequires: pkgconfig(libacl) +BuildRequires: pkgconfig(libidn2) +BuildRequires: pkgconfig(liblz4) +BuildRequires: pkgconfig(libzstd) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(popt) +BuildRequires: pkgconfig(zlib) +Recommends: logrotate %if %{with xxhash} BuildRequires: pkgconfig(libxxhash) >= 0.8.0 %endif %if %{with gcc11} BuildRequires: gcc11-c++ %endif -BuildRequires: pkgconfig(openssl) -Requires(post): grep -Requires(post): sed -Recommends: logrotate %description Rsync is a fast and extraordinarily versatile file copying tool. It can copy @@ -139,8 +132,6 @@ %install %make_install rm -f %{buildroot}%{_sbindir}/rsyncd -install -d %{buildroot}%{_sysconfdir}/init.d -install -d %{buildroot}%{_sysconfdir}/xinetd.d install -d %{buildroot}%{_sbindir} install -m 755 %{SOURCE1} %{buildroot}%{_sbindir}/rsyncd install -m 755 support/rsyncstats %{buildroot}%{_bindir} @@ -164,6 +155,9 @@ ln -sf service %{buildroot}%{_sbindir}/rcrsyncd %endif chmod -x support/* +install -d %{buildroot}%{_docdir}/%{name} +cp -a support %{buildroot}%{_docdir}/%{name}/ +rm %{buildroot}%{_docdir}/%{name}/support/rsyncstats %pre %service_add_pre rsyncd.service rsyncd.socket @@ -193,7 +187,8 @@ %files %license COPYING -%doc NEWS.md README.md tech_report.tex support/ +%doc NEWS.md README.md tech_report.tex +%{_docdir}/%{name}/support %{_unitdir}/[email protected] %{_unitdir}/rsyncd.service %{_unitdir}/rsyncd.socket ++++++ rsync-direct-interpreters.patch ++++++ --- rsync-3.5.1.old/rsync-ssl 2026-08-20 09:27:55.000000000 +0000 +++ rsync-3.5.1/rsync-ssl 2026-10-25 15:47:29.857160577 +0000 @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash # This script uses openssl, gnutls, or stunnel to secure an rsync daemon connection. --- rsync-3.5.1.old/support/rsyncstats 2020-06-17 01:27:48.000000000 +0000 +++ rsync-3.5.1/support/rsyncstats 2026-10-25 15:47:29.860216109 +0000 @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl # # This script parses the default logfile format produced by rsync when running # as a daemon with transfer logging enabled. It also parses a slightly tweaked
