removed dependencies on systemd-units

This commit is contained in:
Michal Ruprich 2018-01-30 13:33:29 +01:00
parent 46b2056c2e
commit da753f2c4e

View File

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