diff --git a/rsync.spec b/rsync.spec index 3a35fff77675d5c717a92ed2fc07a1b830c16d15..2b78b730c6ccbc61dbb6e973fd22d995b0623035 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global _hardened_build 1 %define isprerelease 0 @@ -9,7 +10,7 @@ Summary: A program for synchronizing files over a network Name: rsync Version: 3.1.3 -Release: 14%{?dist}.3 +Release: 14%{anolis_release}%{?dist}.3 Group: Applications/Internet URL: http://rsync.samba.org/ @@ -27,6 +28,9 @@ BuildRequires: libacl-devel, libattr-devel, autoconf, popt-devel, systemd Provides: bundled(zlib) = 1.2.8 License: GPLv3+ +Provides: /usr/bin/rsync +Requires: glibc + Patch0: rsync-man.patch Patch1: rsync-3.0.6-iconv-logging.patch Patch2: rsync-3.1.3-covscan.patch @@ -57,6 +61,14 @@ Requires: %{name} = %{version}-%{release} Rsync can be used to offer read only access to anonymous clients. This package provides the anonymous rsync service. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep # TAG: for pre versions use @@ -110,7 +122,6 @@ chmod -x support/* %files %{!?_licensedir:%global license %%doc} %license COPYING -%doc NEWS OLDNEWS README support/ tech_report.tex %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* @@ -131,10 +142,16 @@ chmod -x support/* %postun daemon %systemd_postun_with_restart rsyncd.service +%files doc +%doc NEWS OLDNEWS README support/ tech_report.tex + %changelog -* Mon Aug 15 2022 Michal Ruprich - 3.1.3-14.3 +* Mon Aug 15 2022 Michal Ruprich - 3.1.3-14.0.1.3 - Resolves: #2111174 - remote arbitrary files write inside the directories of connecting peers +* Sat Jul 16 2022 Xiaoping Liu - 3.1.3-14.0.1.2 +- Add doc sub package + * Wed Apr 20 2022 Michal Ruprich - 3.1.3-14.2 - Related: #2074783 - Needed to bump this to rebuild correctly