[perl-File-RsyncP] 0.72 bump; fix stalled transfers (#1177212)
Petr Šabata
psabata at fedoraproject.org
Mon Jan 12 12:32:57 UTC 2015
commit 945a7ffc3367f0929f8751cf761fc2fa7367934d
Author: Petr Šabata <contyk at redhat.com>
Date: Mon Jan 12 13:33:14 2015 +0100
0.72 bump; fix stalled transfers (#1177212)
.gitignore | 1 +
perl-File-RsyncP.spec | 35 +++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 23 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 777c347..479ba39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
File-RsyncP-0.68.tar.gz
/File-RsyncP-0.70.tar.gz
+/File-RsyncP-0.72.tar.gz
diff --git a/perl-File-RsyncP.spec b/perl-File-RsyncP.spec
index 8460b26..a4b7332 100644
--- a/perl-File-RsyncP.spec
+++ b/perl-File-RsyncP.spec
@@ -1,24 +1,31 @@
Name: perl-File-RsyncP
-Version: 0.70
-Release: 13%{?dist}
+Version: 0.72
+Release: 1%{?dist}
Summary: A perl implementation of an Rsync client
License: GPLv2
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-RsyncP/
Source0: http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/File-RsyncP-%{version}.tar.gz
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildRequires: %{_bindir}/iconv
+# Build
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
-# Run-time:
+# Runtime
BuildRequires: perl(AutoLoader)
+BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
+BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Path)
+BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Socket)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Tests only
+# nothing
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
File::RsyncP is a perl implementation of an Rsync client. It is compatible with
@@ -28,32 +35,32 @@ daemon on the remote machine.
%prep
%setup -q -n File-RsyncP-%{version}
-
# Update config.guess/sub to fix builds on new architectures (aarch64/ppc64le)
cp /usr/lib/rpm/config.* FileList/
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_flags}
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
+chmod -R u+w %{buildroot}/*
%check
make test
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorarch}/File/
%{perl_vendorarch}/auto/File/
%{_mandir}/man3/*
%changelog
+* Mon Jan 12 2015 Petr Šabata <contyk at redhat.com> - 0.72-1
+- 0.72 bump; fix stalled transfers (#1177212)
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.70-13
- Perl 5.20 rebuild
diff --git a/sources b/sources
index d4f288e..9fe7f87 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f244372d15a2991b8700f62e73ac51e4 File-RsyncP-0.70.tar.gz
+ab2729ab4657705052d80eca107d6444 File-RsyncP-0.72.tar.gz
More information about the scm-commits
mailing list