|
|
@@ -33,6 +33,8 @@
|
|
|
%define V_rcs 1.05
|
|
|
%define V_rcs_agent 1.03
|
|
|
%define V_rcs_parser 0.02
|
|
|
+%define V_text_diff 0.35
|
|
|
+%define V_text_patch 1.1
|
|
|
|
|
|
# package information
|
|
|
Name: perl-vcs
|
|
|
@@ -45,7 +47,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20041129
|
|
|
+Release: 20041215
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Diff-%{V_algorithm_diff}.tar.gz
|
|
|
@@ -56,6 +58,8 @@ Source4: http://www.cpan.org/modules/by-module/VCS/VCS-Rcs-Parser-%{V_vcs_r
|
|
|
Source5: http://www.cpan.org/modules/by-module/Rcs/Rcs-%{V_rcs}.tar.gz
|
|
|
Source6: http://www.cpan.org/modules/by-module/Rcs/Rcs-Agent-%{V_rcs_agent}.tar.gz
|
|
|
Source7: http://www.cpan.org/modules/by-module/Rcs/Rcs-Parser-%{V_rcs_parser}.tar.gz
|
|
|
+Source8: http://www.cpan.org/modules/by-module/Text/Text-Diff-%{V_text_diff}.tar.gz
|
|
|
+Source9: http://www.cpan.org/modules/by-module/Text/Text-Patch-%{V_text_patch}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -77,6 +81,8 @@ AutoReqProv: no
|
|
|
- Rcs (%{V_rcs})
|
|
|
- Rcs::Agent (%{V_rcs_agent})
|
|
|
- Rcs::Parser (%{V_rcs_parser})
|
|
|
+ - Text::Diff (%{V_text_diff})
|
|
|
+ - Text::Patch (%{V_text_patch})
|
|
|
|
|
|
%track
|
|
|
prog perl-vcs:Algorithm-Diff = {
|
|
|
@@ -119,6 +125,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Rcs/
|
|
|
regex = [^-]Rcs-Parser-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-vcs:Text-Diff = {
|
|
|
+ version = %{V_text_diff}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Text/
|
|
|
+ regex = Text-Diff-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-vcs:Text-Patch = {
|
|
|
+ version = %{V_text_patch}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Text/
|
|
|
+ regex = Text-Patch-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -129,6 +145,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 5
|
|
|
%setup -q -T -D -a 6
|
|
|
%setup -q -T -D -a 7
|
|
|
+ %setup -q -T -D -a 8
|
|
|
+ %setup -q -T -D -a 9
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -143,6 +161,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
|
|
|
%{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`
|
|
|
|