[perl-File-RsyncP/el5] 0.72 bump; fix stalled transfers (#1177212)

Petr Šabata psabata at fedoraproject.org
Mon Jan 12 13:32:08 UTC 2015


commit 55c7a5f55fb6ba0aa1bada16315adad046f467b2
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Jan 12 14:23:44 2015 +0100

    0.72 bump; fix stalled transfers (#1177212)

 .gitignore            |    3 ++-
 perl-File-RsyncP.spec |   45 +++++++++++++++++++++++++++++++--------------
 sources               |    2 +-
 3 files changed, 34 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 338bfdd..88f58d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-File-RsyncP-0.62.tar.gz
+File-RsyncP-0.68.tar.gz
+/File-RsyncP-0.72.tar.gz
diff --git a/perl-File-RsyncP.spec b/perl-File-RsyncP.spec
index df09d15..5d2f710 100644
--- a/perl-File-RsyncP.spec
+++ b/perl-File-RsyncP.spec
@@ -1,5 +1,5 @@
 Name: perl-File-RsyncP
-Version: 0.68
+Version: 0.72
 Release: 1%{?dist}
 Summary: A perl implementation of an Rsync client
 License: GPLv2
@@ -7,10 +7,26 @@ 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
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildRequires: %{_bindir}/iconv
+# Build
+BuildRequires: perl
 BuildRequires: perl(ExtUtils::MakeMaker)
+# 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
@@ -18,25 +34,22 @@ Rsync 2.5.5 - 2.6.3 (protocol versions 26-28). It can send or receive files,
 either by running rsync on the remote machine, or connecting to an rsyncd
 daemon on the remote machine.
 
-
-
 %prep
 %setup -q -n File-RsyncP-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT
-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/*
+rm -rf %{buildroot}
+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}/*
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %check
 make test
@@ -51,6 +64,10 @@ make test
 
 
 %changelog
+* Mon Jan 12 2015 Petr Šabata <contyk at redhat.com> - 0.72-7
+- 0.72 bump; fix stalled transfers (#1177212)
+- Sanitize the SPEC somewhat
+
 * Wed Sep 17 2008 Johan Cwiklinski <johan AT x-tnd DOT be> - 0.68-1
 - Rebuild for EL-5
 
diff --git a/sources b/sources
index 03e0c4c..9fe7f87 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed47c5ef7ff835415692f18137cb0cf9  File-RsyncP-0.68.tar.gz
+ab2729ab4657705052d80eca107d6444  File-RsyncP-0.72.tar.gz


More information about the scm-commits mailing list