Accepting request 1109022 from home:favogt:branches:network

- Disable openslp support on new distros

OBS-URL: https://build.opensuse.org/request/show/1109022
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=107
This commit is contained in:
David Anes 2023-09-05 12:52:25 +00:00 committed by Git OBS Bridge
parent daf57cb5d4
commit 9c24d26be7
2 changed files with 14 additions and 1 deletions

View File

@ -3,6 +3,11 @@ Tue Sep 5 12:07:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add fortified-strlcpy-fix.patch (bsc#1214616)
-------------------------------------------------------------------
Tue Sep 5 11:11:04 UTC 2023 - Fabian Vogt <fvogt@suse.com>
- Disable openslp support on new distros
-------------------------------------------------------------------
Wed Jul 26 15:07:23 UTC 2023 - Antonio Teixeira <antonio.teixeira@suse.com>

View File

@ -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