Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
rsnapshot
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 13
[-]
[+]
Changed
rsnapshot.spec
@@ -60,13 +60,18 @@ %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?redhat_version} || 0%{?sl_version} --with-logger=%{_bindir}/logger \ %endif -%if 0%{?rhel_version} <= 509 && 0%{?rhel_version} > 0 || 0%{?centos_version} <= 5 && 0%{?centos_version} > 0 - --with-lvcreate=%{_sbindir}/lvcreate \ - --with-lvremove=%{_sbindir}/lvremove \ +%if 0%{?centos_version} <= 5 && 0%{?centos_version} > 0 + --with-lvcreate="%{_sbindir}/lvcreate" \ + --with-lvremove="%{_sbindir}/lvremove" \ %else - --with-lvcreate=/sbin/lvcreate \ +%if 0%{?rhel_version} == 505 + --with-lvcreate="%{_sbindir}/lvcreate" \ + --with-lvremove="%{_sbindir}/lvremove" \ +%else + --with-lvcreate=/sbin/lvcreate \ --with-lvremove=/sbin/lvremove \ %endif +%endif --with-kpartx=/sbin/kpartx \ --with-mount=/bin/mount \ --with-umount=/bin/mount \ @@ -74,7 +79,7 @@ %install install -d $RPM_BUILD_ROOT/%{_bindir} -install -m 755 rsnapshot $RPM_BUILD_ROOT/usr/bin/rsnapshot +install -m 755 rsnapshot $RPM_BUILD_ROOT/usr/bin/rsnapshot install -m 755 rsnapshot-diff $RPM_BUILD_ROOT/usr/bin/rsnapshot-diff install -m 755 utils/rsnapreport.pl $RPM_BUILD_ROOT/usr/bin/rsnapreport.pl