psabata pushed to perl-File-RsyncP (epel7). "auto-import perl-File-RsyncP-0.62-2 on branch devel from (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 28 15:31:05 UTC 2015


From 52df815b1d37078c5763768cb3f4f0c9a24410c6 Mon Sep 17 00:00:00 2001
From: Mike McGrath <mmcgrath at fedoraproject.org>
Date: Sat, 22 Jul 2006 03:48:30 +0000
Subject: auto-import perl-File-RsyncP-0.62-2 on branch devel from    
 perl-File-RsyncP-0.62-2.src.rpm


diff --git a/.cvsignore b/.cvsignore
index e69de29..338bfdd 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+File-RsyncP-0.62.tar.gz
diff --git a/File-RsyncP-0.62-compilation-error.patch b/File-RsyncP-0.62-compilation-error.patch
new file mode 100644
index 0000000..5fe5b10
--- /dev/null
+++ b/File-RsyncP-0.62-compilation-error.patch
@@ -0,0 +1,11 @@
+--- FileList/rsync.h.orig	2006-07-20 23:25:28.000000000 -0500
++++ FileList/rsync.h	2006-07-20 23:25:50.000000000 -0500
+@@ -808,7 +808,7 @@
+ #define MY_GID() getgid()
+ #endif
+ 
+-extern int verbose;
++// extern int verbose;
+ 
+ #ifndef HAVE_INET_NTOP
+ const char *                 
diff --git a/File-RsyncP-0.62-logic.patch b/File-RsyncP-0.62-logic.patch
new file mode 100644
index 0000000..2b163c4
--- /dev/null
+++ b/File-RsyncP-0.62-logic.patch
@@ -0,0 +1,17 @@
+--- FileList/rsync.h.orig	2006-07-20 23:25:28.000000000 -0500
++++ FileList/rsync.h	2006-07-20 23:29:24.000000000 -0500
+@@ -607,12 +607,12 @@
+ int vasprintf(char **ptr, const char *format, va_list ap);
+ #endif
+ 
+-#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
++#if !defined(HAVE_VSNPRINTF) && !defined(HAVE_C99_VSNPRINTF)
+ #define vsnprintf rsync_vsnprintf
+ int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
+ #endif
+ 
+-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
++#if !defined(HAVE_SNPRINTF) && !defined(HAVE_C99_VSNPRINTF)
+ #define snprintf rsync_snprintf
+ int snprintf(char *str,size_t count,const char *fmt,...);
+ #endif
diff --git a/perl-File-RsyncP.spec b/perl-File-RsyncP.spec
new file mode 100644
index 0000000..6765a1d
--- /dev/null
+++ b/perl-File-RsyncP.spec
@@ -0,0 +1,64 @@
+Name: perl-File-RsyncP
+Version: 0.62
+Release: 2%{?dist}
+Summary: A perl implementation of an Rsync client
+License: GPL
+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
+Patch0:	File-RsyncP-0.62-compilation-error.patch
+Patch1:	File-RsyncP-0.62-logic.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: %{_bindir}/iconv
+
+%description
+File::RsyncP is a perl implementation of an Rsync client. It is compatible with
+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}
+%patch0 -p0
+%patch1 -p0
+
+%build
+%{__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/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes LICENSE README
+%{perl_vendorarch}/File/RsyncP.pm
+%{perl_vendorarch}/File/RsyncP/
+%{perl_vendorarch}/auto/File/RsyncP/
+%{_mandir}/man3/*
+
+
+%changelog
+* Fri Jul 21 2006 Mike McGrath <imlinux at gmail.com> - 0.62-2
+- Fixed whitespace issue and removed SMP flags on make
+
+* Thu Jul 20 2006 Mike McGrath <imlinux at gmail.com> - 0.62-1
+- Updated to 0.62 and applied two known patches
+
+* Thu Jul 20 2006 Mike McGrath <imlinux at gmail.com> - 0.52-1
+- Initial Fedora Packaging
diff --git a/sources b/sources
index e69de29..c0ccc40 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+16dcbd537d20c7435e1affd09d65a5ce  File-RsyncP-0.62.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-File-RsyncP.git/commit/?h=epel7&id=52df815b1d37078c5763768cb3f4f0c9a24410c6


More information about the perl-devel mailing list