Resolves: #1123813 - Reduce dependencies
This commit is contained in:
parent
f68e0fe59e
commit
4f455260f4
20
rsync.spec
20
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 <psimerda@redhat.com> - 3.1.1-3
|
||||
- Resolves: #1123813 - Reduce dependencies
|
||||
|
||||
* Mon Aug 4 2014 Tom Callaway <spot@fedoraproject.org> - 3.1.1-2
|
||||
- fix license handling
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user