Accepting request 70121 from home:computersalat:devel:network

fix build for SLE

OBS-URL: https://build.opensuse.org/request/show/70121
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=15
This commit is contained in:
Petr Uzel 2011-05-12 14:27:06 +00:00 committed by Git OBS Bridge
parent dc6c811589
commit 7ffe685934
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 12 13:08:59 UTC 2011 - chris@computersalat.de
- fix build for SLE (spec-cleaner changes)
o makeinstall, _initddir
-------------------------------------------------------------------
Thu May 5 14:43:40 UTC 2011 - puzel@novell.com

View File

@ -17,6 +17,9 @@
%define with_system_zlib 0
%if 0%{?suse_version} < 1120
%define _initddir %{_sysconfdir}/init.d
%endif
Name: rsync
Version: 3.0.8
@ -52,7 +55,9 @@ BuildRequires: texlive-latex
BuildRequires: te_ams
BuildRequires: te_latex
%endif
%if 0%{?suse_version} > 1010
Recommends: logrotate
%endif
%description
Rsync is a fast and extraordinarily versatile file copying tool. It can copy
@ -89,7 +94,11 @@ latex tech_report
dvips tech_report -o tech_report.ps
%install
%if 0%{?suse_version} < 1120
%makeinstall
%else
%make_install
%endif
rm -f %{buildroot}%{_sbindir}/rsyncd
install -d %{buildroot}%{_sysconfdir}/logrotate.d
install -d %{buildroot}%{_sysconfdir}/init.d