rpms/rsnapshot/devel rsnapshot.spec,1.2,1.3
Gavin Henry (ghenry)
fedora-extras-commits at redhat.com
Tue Apr 12 11:54:15 UTC 2005
Author: ghenry
Update of /cvs/extras/rpms/rsnapshot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12551/devel
Modified Files:
rsnapshot.spec
Log Message:
auto-import rsnapshot-1.2.1-2 on branch devel from rsnapshot-1.2.1-2.src.rpm
Updated specfile.
Index: rsnapshot.spec
===================================================================
RCS file: /cvs/extras/rpms/rsnapshot/devel/rsnapshot.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rsnapshot.spec 12 Apr 2005 11:07:19 -0000 1.2
+++ rsnapshot.spec 12 Apr 2005 11:54:13 -0000 1.3
@@ -1,14 +1,15 @@
Name: rsnapshot
Summary: Local and remote filesystem snapshot utility
Version: 1.2.1
-Release: 1
+Release: 2
License: GPL
Group: Applications/System
Url: http://www.rsnapshot.org
Source0: http://www.rsnapshot.org/downloads/rsnapshot-1.2.1.tar.gz
Patch0: rsnapshot.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: perl, rsync, ssh
+Buildrequires: perl, openssh-clients
+Requires: perl, openssh-clients, rsync, coreutils, util-linux
AutoReqProv: no
%description
@@ -19,14 +20,21 @@
%prep
rm -rf %{buildroot}
-%setup
+%setup -q
+%{__perl} -pi.orig -e 's|/usr/local|/usr|g' rsnapshot.1
+%{__perl} -pi.orig -e 's|/usr/local|/usr|g' README
%patch
%build
-%configure
+%configure \
+ --with-rsync=%{_bindir}/rsync \
+ --with-ssh=%{_bindir}/ssh \
+ --with-logger=%{_bindir}/logger \
+ --with-du=%{_bindir}/du
%install
+rm -rf %{buildroot}
install -d %{buildroot}/%{_bindir}
install -m 755 rsnapshot %{buildroot}/%{_bindir}/rsnapshot
@@ -66,7 +74,7 @@
%files
%defattr(-,root,root)
-%verify(user group mode md5 size mtime) %doc AUTHORS COPYING ChangeLog README INSTALL TODO
+%verify(user group mode md5 size mtime) %doc AUTHORS COPYING ChangeLog README TODO
%verify(user group mode md5 size mtime) %config %{_sysconfdir}/rsnapshot.conf.default
%verify(user group mode) %config(noreplace) %{_sysconfdir}/rsnapshot.conf
%verify(user group mode md5 size mtime) %{_bindir}/rsnapshot
More information about the fedora-extras-commits
mailing list