[packages/rsnapshot] Rel 2. Use explicit perl shebang in rsnapreport.pl.
arekm
arekm at pld-linux.org
Thu Oct 29 09:05:08 CET 2026
commit 40069dfd400d50d73ae1b2837429715a2db907cf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 29 02:47:40 2026 +0100
Rel 2. Use explicit perl shebang in rsnapreport.pl.
rsnapshot.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/rsnapshot.spec b/rsnapshot.spec
index ea9872c..b0b918c 100644
--- a/rsnapshot.spec
+++ b/rsnapshot.spec
@@ -3,15 +3,18 @@ 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.5.1
-Release: 1
+Release: 2
License: GPL v2+
Group: Daemons
-Source0: http://www.rsnapshot.org/downloads/%{name}-%{version}.tar.gz
+Source0: https://rsnapshot.org/downloads/%{name}-%{version}.tar.gz
# Source0-md5: 464fa0700b6ec140866b0c30a1b9ac99
Patch1: pid.patch
-URL: http://www.rsnapshot.org/
+URL: https://rsnapshot.org/
BuildRequires: rpm-perlprov
+%if %{with tests}
+BuildRequires: rsync
+%endif
Requires: rsync
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,6 +31,8 @@ w oparciu o rsynca.
%patch -P1 -p1
+%{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' utils/rsnapreport.pl
+
%build
%configure \
RSYNC=%{_bindir}/rsync
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rsnapshot.git/commitdiff/40069dfd400d50d73ae1b2837429715a2db907cf
More information about the pld-cvs-commit
mailing list