File perl-File-Rsync.spec of Package perl-File-Rsync

# spec file for package perl-File-Rsync (Version 0.43)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-File-Rsync
%define        cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} )
Summary:        Perl module interface to rsync
Group:          Development/Libraries/Perl
License:        Artistic
Version:        0.43
Release:        2
Source:         %{cpan_name}-%{version}.tar.bz2
BuildRequires:  perl-macros
BuildRequires:  rsync
Requires:       rsync
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Perl Convenience wrapper for the rsync(1) program. Written for rsync-2.3.2 and
updated for rsync-2.6.0 but should perform properly with most recent versions.

    Lee Eakin <>

%setup -n %{cpan_name}-%{version}
sed -i "s|/usr/local/bin/rsync|/usr/bin/rsync|"

perl Makefile.PL 
make %{?jobs:-j%jobs}

make test


rm -rf %{buildroot}

%files -f %{name}.files 
%defattr(-, root, root)