|
|
@@ -32,6 +32,7 @@
|
|
|
%define V_dbix_ha 0.61
|
|
|
%define V_dbix_anydbd 2.01
|
|
|
%define V_dbix_sqlengine 0.028
|
|
|
+%define V_dbix_simple 1.21
|
|
|
|
|
|
# package information
|
|
|
Name: perl-dbix
|
|
|
@@ -44,7 +45,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20040429
|
|
|
+Release: 20040505
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/DBIx/DBIx-DBSchema-%{V_dbix_dbschema}.tar.gz
|
|
|
@@ -54,6 +55,7 @@ Source3: http://www.cpan.org/modules/by-module/DBIx/DBIx-DWIW-%{V_dbix_dwiw
|
|
|
Source4: http://www.cpan.org/modules/by-module/DBIx/DBIx-HA-%{V_dbix_ha}.tar.gz
|
|
|
Source5: http://www.cpan.org/modules/by-module/DBIx/DBIx-AnyDBD-%{V_dbix_anydbd}.tar.gz
|
|
|
Source6: http://www.cpan.org/modules/by-module/DBIx/DBIx-SQLEngine-%{V_dbix_sqlengine}.tar.gz
|
|
|
+Source7: http://www.cpan.org/modules/by-module/DBIx/DBIx-Simple-%{V_dbix_simple}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -74,6 +76,7 @@ AutoReqProv: no
|
|
|
- DBIx::HA (%{V_dbix_ha})
|
|
|
- DBIx::AnyDBD (%{V_dbix_anydbd})
|
|
|
- DBIx::SQLEngine (%{V_dbix_sqlengine})
|
|
|
+ - DBIx::Simple (%{V_dbix_simple})
|
|
|
|
|
|
%track
|
|
|
prog perl-dbix:DBIx-DataSource = {
|
|
|
@@ -111,6 +114,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/DBIx/
|
|
|
regex = DBIx-SQLEngine-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-dbix:DBIx-Simple = {
|
|
|
+ version = %{V_dbix_simple}
|
|
|
+ url = http://www.cpan.org/modules/by-module/DBIx/
|
|
|
+ regex = DBIx-Simple-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -120,6 +128,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 4
|
|
|
%setup -q -T -D -a 5
|
|
|
%setup -q -T -D -a 6
|
|
|
+ %setup -q -T -D -a 7
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -132,6 +141,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
|
|
|
%{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 -F perl-openpkg-files fixate cleanup
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|