rpms/perl-File-RsyncP/devel File-RsyncP-0.62-compilation-error.patch, NONE, 1.1 File-RsyncP-0.62-logic.patch, NONE, 1.1 perl-File-RsyncP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Patrick McGrath (mmcgrath) fedora-extras-commits at redhat.com
Sat Jul 22 03:48:31 UTC 2006


Author: mmcgrath

Update of /cvs/extras/rpms/perl-File-RsyncP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1192/devel

Modified Files:
	.cvsignore sources 
Added Files:
	File-RsyncP-0.62-compilation-error.patch 
	File-RsyncP-0.62-logic.patch perl-File-RsyncP.spec 
Log Message:
auto-import perl-File-RsyncP-0.62-2 on branch devel from perl-File-RsyncP-0.62-2.src.rpm

File-RsyncP-0.62-compilation-error.patch:

--- NEW FILE File-RsyncP-0.62-compilation-error.patch ---
--- 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 *                 

File-RsyncP-0.62-logic.patch:

--- NEW FILE File-RsyncP-0.62-logic.patch ---
--- 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


--- NEW FILE perl-File-RsyncP.spec ---
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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-File-RsyncP/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Jul 2006 03:47:56 -0000	1.1
+++ .cvsignore	22 Jul 2006 03:48:30 -0000	1.2
@@ -0,0 +1 @@
+File-RsyncP-0.62.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-File-RsyncP/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Jul 2006 03:47:56 -0000	1.1
+++ sources	22 Jul 2006 03:48:30 -0000	1.2
@@ -0,0 +1 @@
+16dcbd537d20c7435e1affd09d65a5ce  File-RsyncP-0.62.tar.gz




More information about the fedora-extras-commits mailing list