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:
parent
db587196c9
commit
1830a9cd3d
@ -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
|
Fri Apr 5 12:33:30 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
11
rsync.spec
11
rsync.spec
@ -28,6 +28,7 @@ Summary: Versatile tool for fast incremental file transfer
|
|||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Url: http://rsync.samba.org/
|
Url: http://rsync.samba.org/
|
||||||
|
|
||||||
Source: http://rsync.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz
|
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
|
Source1: http://rsync.samba.org/ftp/rsync/src/rsync-patches-%{version}.tar.gz
|
||||||
Source2: logrotate.rsync
|
Source2: logrotate.rsync
|
||||||
@ -40,6 +41,7 @@ Source8: rsyncd.service
|
|||||||
Patch3: system-zlib.diff
|
Patch3: system-zlib.diff
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: openslp-devel
|
BuildRequires: openslp-devel
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -90,11 +92,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?suse_version} < 1120
|
make install DESTDIR="%buildroot"
|
||||||
%makeinstall
|
|
||||||
%else
|
|
||||||
%make_install
|
|
||||||
%endif
|
|
||||||
rm -f %{buildroot}%{_sbindir}/rsyncd
|
rm -f %{buildroot}%{_sbindir}/rsyncd
|
||||||
install -d %{buildroot}%{_sysconfdir}/logrotate.d
|
install -d %{buildroot}%{_sysconfdir}/logrotate.d
|
||||||
install -d %{buildroot}%{_sysconfdir}/init.d
|
install -d %{buildroot}%{_sysconfdir}/init.d
|
||||||
@ -141,9 +139,6 @@ fi
|
|||||||
%service_del_postun rsyncd.service
|
%service_del_postun rsyncd.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if 0%{?has_systemd}
|
%if 0%{?has_systemd}
|
||||||
|
Loading…
Reference in New Issue
Block a user