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

Petr Šabata psabata at fedoraproject.org
Mon Jan 12 13:23:26 UTC 2015


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

    0.72 bump; fix stalled transfers (#1177212)
    
    - Sanitize the SPEC somewhat

 .gitignore            |    1 +
 perl-File-RsyncP.spec |   47 ++++++++++++++++++++++++++++++++---------------
 sources               |    2 +-
 3 files changed, 34 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3fe492e..88f58d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 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 3f13b69..0dee696 100644
--- a/perl-File-RsyncP.spec
+++ b/perl-File-RsyncP.spec
@@ -1,16 +1,32 @@
 Name: perl-File-RsyncP
-Version: 0.68
-Release: 6%{?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
 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
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.68-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
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 perl-devel mailing list