From 4f455260f4daf71946fd9a88f2356cb25399d642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Tue, 12 Aug 2014 22:51:31 +0200 Subject: [PATCH] Resolves: #1123813 - Reduce dependencies --- rsync.spec | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/rsync.spec b/rsync.spec index 80c62d2..0ff0a30 100644 --- a/rsync.spec +++ b/rsync.spec @@ -9,7 +9,7 @@ Summary: A program for synchronizing files over a network Name: rsync Version: 3.1.1 -Release: 2%{?prerelease}%{?dist} +Release: 3%{?prerelease}%{?dist} Group: Applications/Internet URL: http://rsync.samba.org/ @@ -23,9 +23,6 @@ Source6: rsyncd@.service BuildRequires: libacl-devel, libattr-devel, autoconf, popt-devel, systemd-units #Requires: zlib -Requires(post): systemd-units -Requires(preun): systemd-units -Requires(postun): systemd-units License: GPLv3+ Patch0: rsync-man.patch @@ -39,6 +36,16 @@ just as a more capable replacement for the rcp command. A technical report which describes the rsync algorithm is included in this package. +%package daemon +Summary: Service for anonymous access to rsync +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires(post): systemd-units +Requires(preun): systemd-units +Requires(postun): systemd-units +%description daemon +Rsync can be used to offer read only access to anonymous clients. This +package provides the anonymous rsync service. + %prep # TAG: for pre versions use @@ -89,6 +96,8 @@ rm -rf $RPM_BUILD_ROOT %doc NEWS OLDNEWS README support/ tech_report.tex %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* + +%files daemon %{_mandir}/man5/rsyncd.conf.5* %config(noreplace) %{_sysconfdir}/rsyncd.conf %config(noreplace) %{_sysconfdir}/sysconfig/rsyncd @@ -106,6 +115,9 @@ rm -rf $RPM_BUILD_ROOT %systemd_postun_with_restart rsyncd.service %changelog +* Tue Aug 12 2014 Pavel Šimerda - 3.1.1-3 +- Resolves: #1123813 - Reduce dependencies + * Mon Aug 4 2014 Tom Callaway - 3.1.1-2 - fix license handling