diff --git a/rsync.changes b/rsync.changes index 3328a61..39ff475 100644 --- a/rsync.changes +++ b/rsync.changes @@ -3,6 +3,11 @@ Tue Sep 5 12:07:57 UTC 2023 - Dirk Müller - add fortified-strlcpy-fix.patch (bsc#1214616) +------------------------------------------------------------------- +Tue Sep 5 11:11:04 UTC 2023 - Fabian Vogt + +- Disable openslp support on new distros + ------------------------------------------------------------------- Wed Jul 26 15:07:23 UTC 2023 - Antonio Teixeira diff --git a/rsync.spec b/rsync.spec index 2c59965..cd28911 100644 --- a/rsync.spec +++ b/rsync.spec @@ -28,6 +28,12 @@ %bcond_with gcc11 %endif +%if 0%{?suse_version} < 1600 +%bcond_without openslp +%else +%bcond_with openslp +%endif + Name: rsync Version: 3.2.7 Release: 0 @@ -56,7 +62,6 @@ BuildRequires: c++_compiler BuildRequires: libacl-devel BuildRequires: liblz4-devel BuildRequires: libzstd-devel -BuildRequires: openslp-devel BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: systemd-rpm-macros @@ -67,6 +72,9 @@ BuildRequires: pkgconfig(libxxhash) >= 0.8.0 %if %{with gcc11} BuildRequires: gcc11-c++ %endif +%if %{with openslp} +BuildRequires: openslp-devel +%endif BuildRequires: pkgconfig(openssl) Requires(post): grep Requires(post): sed