SHA256
1
0
forked from pool/rsync

Accepting request 179226 from home:jengelh:attr

- Explicitly list libattr-devel as BuildRequires

OBS-URL: https://build.opensuse.org/request/show/179226
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=27
This commit is contained in:
Andrey Karepin 2013-06-17 05:40:14 +00:00 committed by Git OBS Bridge
parent db587196c9
commit 1830a9cd3d
2 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jun 16 23:59:28 UTC 2013 - jengelh@inai.de
- Explicitly list libattr-devel as BuildRequires
- More robust make install call. Remove redundant %clean section.
-------------------------------------------------------------------
Fri Apr 5 12:33:30 UTC 2013 - idonmez@suse.com

View File

@ -28,6 +28,7 @@ Summary: Versatile tool for fast incremental file transfer
License: GPL-3.0+
Group: Productivity/Networking/Other
Url: http://rsync.samba.org/
Source: http://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz
Source1: http://rsync.samba.org/ftp/rsync/src/rsync-patches-%{version}.tar.gz
Source2: logrotate.rsync
@ -40,6 +41,7 @@ Source8: rsyncd.service
Patch3: system-zlib.diff
BuildRequires: autoconf
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: openslp-devel
BuildRequires: popt-devel
BuildRequires: zlib-devel
@ -90,11 +92,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
make %{?_smp_mflags}
%install
%if 0%{?suse_version} < 1120
%makeinstall
%else
%make_install
%endif
make install DESTDIR="%buildroot"
rm -f %{buildroot}%{_sbindir}/rsyncd
install -d %{buildroot}%{_sysconfdir}/logrotate.d
install -d %{buildroot}%{_sysconfdir}/init.d
@ -141,9 +139,6 @@ fi
%service_del_postun rsyncd.service
%endif
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%if 0%{?has_systemd}