]> git.pld-linux.org Git - packages/rsnapshot.git/blobdiff - rsnapshot.spec
Up to 1.4.4; it's noarch package
[packages/rsnapshot.git] / rsnapshot.spec
index 3ca1c095d46403a40eb842be70184cb2f4b5ae24..ad51385f853ed6d74fc334bdbd10847a455a4f9f 100644 (file)
@@ -1,17 +1,19 @@
-%include       /usr/lib/rpm/macros.perl
+%bcond_without tests
 Summary:       Program for efficient remote updates of backup sets
 Summary(pl.UTF-8):     Program do wydajnego zdalnego uaktualniania zbiorów kopii zapasowych
 Name:          rsnapshot
-Version:       1.4.2
+Version:       1.4.4
 Release:       1
 License:       GPL v2+
 Group:         Daemons
 Source0:       http://www.rsnapshot.org/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 860382f19e38fc649f9447397b54e442
-Patch0:                bug-207.patch
+# Source0-md5: 86717b9f39c7a7a5dd9e0eba556f829e
+
+Patch1:                pid.patch
 URL:           http://www.rsnapshot.org/
 BuildRequires: rpm-perlprov
 Requires:      rsync
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,13 +25,16 @@ w oparciu o rsynca.
 
 %prep
 %setup -q
-%patch0 -p1
+
+%patch1 -p1
 
 %build
 %configure \
-       RSYNC=rsync
+       RSYNC=%{_bindir}/rsync
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.135052 seconds and 4 git commands to generate.