forked from pool/rsync
Accepting request 1109229 from home:kukuk:branches:network
- Use "slp" for bcond, not "openslp", like we use for all other packages, too. - Disable slp patch and configure option if bcond slp is disabled. OBS-URL: https://build.opensuse.org/request/show/1109229 OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=109
This commit is contained in:
parent
a21828dc08
commit
2bc1e2ae43
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 09:19:36 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Use "slp" for bcond, not "openslp", like we use for all other
|
||||||
|
packages, too.
|
||||||
|
- Disable slp patch and configure option if bcond slp is disabled.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 5 12:07:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Sep 5 12:07:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
10
rsync.spec
10
rsync.spec
@ -29,9 +29,9 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} < 1600
|
%if 0%{?suse_version} < 1600
|
||||||
%bcond_without openslp
|
%bcond_without slp
|
||||||
%else
|
%else
|
||||||
%bcond_with openslp
|
%bcond_with slp
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: rsync
|
Name: rsync
|
||||||
@ -72,7 +72,7 @@ BuildRequires: pkgconfig(libxxhash) >= 0.8.0
|
|||||||
%if %{with gcc11}
|
%if %{with gcc11}
|
||||||
BuildRequires: gcc11-c++
|
BuildRequires: gcc11-c++
|
||||||
%endif
|
%endif
|
||||||
%if %{with openslp}
|
%if %{with slp}
|
||||||
BuildRequires: openslp-devel
|
BuildRequires: openslp-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
@ -94,7 +94,9 @@ for backups and mirroring and as an improved copy command for everyday use.
|
|||||||
%setup -q -b 1
|
%setup -q -b 1
|
||||||
rm -f zlib/*.h zlib/*.c
|
rm -f zlib/*.h zlib/*.c
|
||||||
|
|
||||||
|
%if %{with slp}
|
||||||
patch -p1 < patches/slp.diff
|
patch -p1 < patches/slp.diff
|
||||||
|
%endif
|
||||||
|
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
@ -117,7 +119,9 @@ export LDFLAGS="-Wl,-z,relro,-z,now -fPIE -pie"
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
--enable-simd \
|
--enable-simd \
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with slp}
|
||||||
--enable-slp \
|
--enable-slp \
|
||||||
|
%endif
|
||||||
--enable-acl-support \
|
--enable-acl-support \
|
||||||
--enable-xattr-support
|
--enable-xattr-support
|
||||||
%make_build reconfigure
|
%make_build reconfigure
|
||||||
|
Loading…
Reference in New Issue
Block a user