[packages/perl-File-Rsync] - updated to 0.49

qboosh qboosh at pld-linux.org
Sun Mar 14 18:46:48 CET 2021


commit 7fee8578af9c8a1fcad527024f005e013ea17651
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 14 18:47:45 2021 +0100

    - updated to 0.49

 perl-File-Rsync-misc.patch | 44 --------------------------------------------
 perl-File-Rsync.spec       | 17 ++++++++---------
 2 files changed, 8 insertions(+), 53 deletions(-)
---
diff --git a/perl-File-Rsync.spec b/perl-File-Rsync.spec
index 68cdea2..0f1ce16 100644
--- a/perl-File-Rsync.spec
+++ b/perl-File-Rsync.spec
@@ -7,18 +7,21 @@
 Summary:	File::Rsync - a wrapper module for rsync
 Summary(pl.UTF-8):	File::Rsync - wrapper dla programu rsync
 Name:		perl-File-Rsync
-Version:	0.43
+Version:	0.49
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	fe745f0460454250bc4ed557de8f11ac
-Patch0:		%{name}-misc.patch
-URL:		http://search.cpan.org/dist/File-Rsync/
+# Source0-md5:	3929283d5391b6599799072c34a9e93e
+URL:		https://metacpan.org/release/File-Rsync
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
+BuildRequires:	perl-IPC-Run3
+BuildRequires:	perl-Scalar-List-Utils
+BuildRequires:	perl-Test-Simple
 BuildRequires:	rsync
 %endif
 Requires:	rsync
@@ -33,7 +36,6 @@ File::Rsync jest wrapperem w Perlu dla programu rsync.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
@@ -56,7 +58,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changelog README
 %{perl_vendorlib}/File/Rsync.pm
-%dir %{perl_vendorlib}/File/Rsync
-%{perl_vendorlib}/File/Rsync/Config.pm
-%{_mandir}/man3/File::Rsync.*
-%{_mandir}/man3/File::Config.*
+%{_mandir}/man3/File::Rsync.3pm*
diff --git a/perl-File-Rsync-misc.patch b/perl-File-Rsync-misc.patch
deleted file mode 100644
index e34b1d4..0000000
--- a/perl-File-Rsync-misc.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -Nur File-Rsync-0.42.ori/Makefile.PL File-Rsync-0.42.mod/Makefile.PL
---- File-Rsync-0.42.ori/Makefile.PL	2005-06-25 00:02:32.000000000 +0200
-+++ File-Rsync-0.42.mod/Makefile.PL	2006-01-22 13:43:33.000000000 +0100
-@@ -17,10 +17,10 @@
-       AUTHOR         => $AUTHOR,
-       ABSTRACT       => $ABSTRACT,
-       PREREQ_PM      => { 'Scalar::Util' => 0 },
--      PL_FILES       => { 'makepm.PL' => 'config.pm' },
-+      PL_FILES       => { 'makepm.PL' => 'Config.pm' },
-       PM             => { 'Rsync.pm'  => '$(INST_LIB)/File/Rsync.pm',
--     			  'config.pm' => '$(INST_ARCHLIB)/File/Rsync/Config.pm' },
-+     			  'Config.pm' => '$(INST_LIB)/File/Rsync/Config.pm' },
-       dist           => { COMPRESS => 'gzip', SUFFIX => 'gz' },
--      realclean      => { FILES => 'config.pm' },
-+      realclean      => { FILES => 'Config.pm' },
- );
- 
-diff -Nur File-Rsync-0.42.ori/makepm.PL File-Rsync-0.42.mod/makepm.PL
---- File-Rsync-0.42.ori/makepm.PL	2005-06-24 23:56:33.000000000 +0200
-+++ File-Rsync-0.42.mod/makepm.PL	2006-01-22 13:42:09.000000000 +0100
-@@ -20,15 +20,15 @@
- (this is not recommended)).
- 
- EOT
--$RSYNC||='/usr/local/bin/rsync';
--print "Path to rsync [$RSYNC]: ";
--my $ans=<STDIN>;
--chomp $ans;
--$RSYNC=$ans || $RSYNC;
--$RSYNC=~s/\\/\\\\/g;
--$RSYNC=~s/\'/\\\'/g;
-+$RSYNC||='/usr/bin/rsync';
-+#print "Path to rsync [$RSYNC]: ";
-+#my $ans=<STDIN>;
-+#chomp $ans;
-+#$RSYNC=$ans || $RSYNC;
-+#$RSYNC=~s/\\/\\\\/g;
-+#$RSYNC=~s/\'/\\\'/g;
- open IN,'config.in' or die "Cannot read config.in: $!\n";
--open OUT,'>config.pm' or die "Cannot write config.pm: $!\n";
-+open OUT,'>Config.pm' or die "Cannot write Config.pm: $!\n";
- while (<IN>) {
-    if (/^(\s*rsync_path\s*=>)/) { print OUT "$1 '$RSYNC',\n" }
-    else                                  { print OUT }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-File-Rsync.git/commitdiff/7fee8578af9c8a1fcad527024f005e013ea17651



More information about the pld-cvs-commit mailing list