|
@@ -63,6 +63,7 @@
|
|
|
%define V_test_inline 0.16
|
|
%define V_test_inline 0.16
|
|
|
%define V_test_manifest 0.95
|
|
%define V_test_manifest 0.95
|
|
|
%define V_test_simple 0.47
|
|
%define V_test_simple 0.47
|
|
|
|
|
+%define V_universal_moniker 0.08
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: perl-util
|
|
Name: perl-util
|
|
@@ -116,6 +117,7 @@ Source34: http://www.cpan.org/modules/by-module/Class/Class-Contract-%{V_cla
|
|
|
Source35: http://www.cpan.org/modules/by-module/Class/Class-Declare-%{V_class_declare}.tar.gz
|
|
Source35: http://www.cpan.org/modules/by-module/Class/Class-Declare-%{V_class_declare}.tar.gz
|
|
|
Source36: http://www.cpan.org/modules/by-module/Class/Class-Declare-Attributes-%{V_class_declare_attributes}.tar.gz
|
|
Source36: http://www.cpan.org/modules/by-module/Class/Class-Declare-Attributes-%{V_class_declare_attributes}.tar.gz
|
|
|
Source37: http://www.cpan.org/modules/by-module/Class/Class-Trigger-%{V_class_trigger}.tar.gz
|
|
Source37: http://www.cpan.org/modules/by-module/Class/Class-Trigger-%{V_class_trigger}.tar.gz
|
|
|
|
|
+Source38: http://www.cpan.org/modules/by-module/UNIVERSAL/UNIVERSAL-moniker-%{V_universal_moniker}.tar.gz
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -165,6 +167,7 @@ AutoReqProv: no
|
|
|
- Test::Inline (%{V_test_inline})
|
|
- Test::Inline (%{V_test_inline})
|
|
|
- Test::Manifest (%{V_test_manifest})
|
|
- Test::Manifest (%{V_test_manifest})
|
|
|
- Test::Simple (%{V_test_simple})
|
|
- Test::Simple (%{V_test_simple})
|
|
|
|
|
+ - UNIVERSAL::moniker (%{V_universal_moniker})
|
|
|
|
|
|
|
|
%track
|
|
%track
|
|
|
prog perl-util:Alias = {
|
|
prog perl-util:Alias = {
|
|
@@ -357,6 +360,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Test/
|
|
url = http://www.cpan.org/modules/by-module/Test/
|
|
|
regex = Test-Simple-(__VER__)\.tar\.gz
|
|
regex = Test-Simple-(__VER__)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
|
|
+ prog perl-util:UNIVERSAL-moniker = {
|
|
|
|
|
+ version = %{V_universal_moniker}
|
|
|
|
|
+ url = http://www.cpan.org/modules/by-module/UNIVERSAL/
|
|
|
|
|
+ regex = UNIVERSAL-moniker-(__VER__)\.tar\.gz
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -c
|
|
%setup -q -c
|
|
@@ -397,6 +405,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 35
|
|
%setup -q -T -D -a 35
|
|
|
%setup -q -T -D -a 36
|
|
%setup -q -T -D -a 36
|
|
|
%setup -q -T -D -a 37
|
|
%setup -q -T -D -a 37
|
|
|
|
|
+ %setup -q -T -D -a 38
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
|
@@ -441,6 +450,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE38} configure build install
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/prove
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/prove
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|