OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 03-Mar-2008 07:52:30 Branch: HEAD Handle: 2008030306522700 Modified files: openpkg-src/svnnotify svnnotify.patch svnnotify.spec Log: modifying package: svnnotify-2.70 20080301 -> 20080303 Summary: Revision Changes Path 1.4 +4 -4 openpkg-src/svnnotify/svnnotify.patch 1.6 +23 -2 openpkg-src/svnnotify/svnnotify.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/svnnotify/svnnotify.patch ============================================================================ $ cvs diff -u -r1.3 -r1.4 svnnotify.patch --- openpkg-src/svnnotify/svnnotify.patch 1 Mar 2008 09:21:53 -0000 1.3 +++ openpkg-src/svnnotify/svnnotify.patch 3 Mar 2008 06:52:27 -0000 1.4 @@ -1,7 +1,7 @@ Index: SVN-Notify-2.70/lib/SVN/Notify.pm ---- SVN-Notify-2.70/lib/SVN/Notify.pm.orig 2007-06-17 07:08:29 +0200 -+++ SVN-Notify-2.70/lib/SVN/Notify.pm 2007-07-30 19:48:01 +0200 -@@ -851,7 +851,7 @@ +--- SVN-Notify-2.70/lib/SVN/Notify.pm.orig 2008-02-29 18:03:27 +0100 ++++ SVN-Notify-2.70/lib/SVN/Notify.pm 2008-03-03 07:42:18 +0100 +@@ -938,7 +938,7 @@ my $exe = SVN::Notify->find_exe($exe_name); This method searches through the system path, as well as the extra directories @@ -10,7 +10,7 @@ C<svnlook> and C<sendmail> for an executable file with the name C<$exe_name>. The first one it finds is returned with its full path. If none is found, C<find_exe()> returns undef. -@@ -863,7 +863,7 @@ +@@ -950,7 +950,7 @@ $exe .= '.exe' if WIN32; require File::Spec; for my $path ( @@ . patch -p0 <<'@@ .' Index: openpkg-src/svnnotify/svnnotify.spec ============================================================================ $ cvs diff -u -r1.5 -r1.6 svnnotify.spec --- openpkg-src/svnnotify/svnnotify.spec 1 Mar 2008 09:21:53 -0000 1.5 +++ openpkg-src/svnnotify/svnnotify.spec 3 Mar 2008 06:52:27 -0000 1.6 @@ -23,7 +23,8 @@ # package version %define V_svn_notify 2.70 -%define V_svn_notify_config 0.0907 +%define V_svn_notify_config 0.0908 +%define V_svn_notify_mirror 0.037 # package information Name: svnnotify @@ -36,14 +37,16 @@ Group: SCM License: GPL/Artistic Version: %{V_svn_notify} -Release: 20080301 +Release: 20080303 # package options %option with_config yes +%option with_mirror yes # list of sources Source0: http://www.cpan.org/modules/by-module/SVN/SVN-Notify-%{V_svn_notify}.tar.gz Source1: http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Config-%{V_svn_notify_config}.tar.gz +Source2: http://www.cpan.org/modules/by-module/SVN/SVN-Notify-Mirror-%{V_svn_notify_mirror}.tar.gz Patch0: svnnotify.patch # build information @@ -57,6 +60,10 @@ BuildPreReq: yaml, yaml::with_perl = yes PreReq: yaml, yaml::with_perl = yes %endif +%if "%{with_mirror}" == "yes" +BuildPreReq: perl-ssh, perl-sys, rsync +PreReq: perl-ssh, perl-sys, rsync +%endif AutoReq: no AutoReqProv: no @@ -81,12 +88,20 @@ url = http://www.cpan.org/modules/by-module/SVN/ regex = SVN-Notify-Config-(__VER__)\.tar\.gz } + prog svnnotify:SVN-Notify-Mirror = { + version = %{V_svn_notify_mirror} + url = http://www.cpan.org/modules/by-module/SVN/ + regex = SVN-Notify-Mirror-(__VER__)\.tar\.gz + } %prep %setup -q -c %if "%{with_config}" == "yes" %setup -q -D -T -a 1 %endif +%if "%{with_mirror}" == "yes" + %setup -q -D -T -a 2 +%endif %{l_sed} <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b %build @@ -95,6 +110,9 @@ %if "%{with_config}" == "yes" %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build %endif +%if "%{with_mirror}" == "yes" + %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build +%endif %install rm -rf $RPM_BUILD_ROOT @@ -102,6 +120,9 @@ %if "%{with_config}" == "yes" %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} install %endif +%if "%{with_mirror}" == "yes" + %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} install +%endif %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} `cat perl-openpkg-files` @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org