diff --git a/rsync.spec b/rsync.spec index 2cf58b8..e431039 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.3 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/Internet URL: http://rsync.samba.org/ @@ -21,7 +21,7 @@ Source4: rsyncd.conf Source5: rsyncd.sysconfig Source6: rsyncd@.service -BuildRequires: libacl-devel, libattr-devel, autoconf, popt-devel, systemd-units +BuildRequires: libacl-devel, libattr-devel, autoconf, popt-devel, systemd #Requires: zlib #Added virtual provide for zlib due to https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries Provides: bundled(zlib) = 1.2.8 @@ -43,9 +43,7 @@ package. Summary: Service for anonymous access to rsync BuildArch: noarch Requires: %{name} = %{version}-%{release} -Requires(post): systemd-units -Requires(preun): systemd-units -Requires(postun): systemd-units +%{?systemd_requires} %description daemon Rsync can be used to offer read only access to anonymous clients. This package provides the anonymous rsync service. @@ -120,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT %systemd_postun_with_restart rsyncd.service %changelog +* Tue Jan 30 2018 Michal Ruprich - 3.1.3-2 +- removed dependencies on systemd-units + * Mon Jan 29 2018 Michal Ruprich - 3.1.3-1 - new version 3.1.3 - Resolves CVE-2018-5764