Browse Source

reverse order to fulfill internal deps

master
parent
commit
b115f0f252
  1. 22
      perl-www/perl-www.spec

22
perl-www/perl-www.spec

@ -37,12 +37,12 @@ Packager: The OpenPKG Project
Distribution: OpenPKG [REL] Distribution: OpenPKG [REL]
Group: Language Group: Language
License: GPL/Artistic License: GPL/Artistic
Version: 20020517 Version: 20020524
Release: 20020517 Release: 20020524
# list of sources # list of sources
Source0: http://www.cpan.org/modules/by-module/WWW/libwww-perl-%{V_libwww_perl}.tar.gz Source0: http://www.cpan.org/modules/by-module/URI/URI-%{V_uri}.tar.gz
Source1: http://www.cpan.org/modules/by-module/URI/URI-%{V_uri}.tar.gz Source1: http://www.cpan.org/modules/by-module/WWW/libwww-perl-%{V_libwww_perl}.tar.gz
#Source2: http://www.cpan.org/modules/by-module/CGI/CGI.pm-%{V_cgi}.tar.gz #Source2: http://www.cpan.org/modules/by-module/CGI/CGI.pm-%{V_cgi}.tar.gz
# build information # build information
@ -96,6 +96,13 @@ AutoReqProv: no
-e "s:\$^X:'$perl':g" \ -e "s:\$^X:'$perl':g" \
`find . -name Makefile.PL -print` `find . -name Makefile.PL -print`
# build URI
( cd URI-%{V_uri}
$perl Makefile.PL $perlargs
$make $makeargs all
$make $makeargs install
)
# build libwww-perl # build libwww-perl
( cd libwww-perl-%{V_libwww_perl} ( cd libwww-perl-%{V_libwww_perl}
$perl Makefile.PL $perlargs </dev/null $perl Makefile.PL $perlargs </dev/null
@ -110,13 +117,6 @@ AutoReqProv: no
# $make $makeargs install # $make $makeargs install
# ) # )
# build URI
( cd URI-%{V_uri}
$perl Makefile.PL $perlargs
$make $makeargs all
$make $makeargs install
)
# strip down installation tree # strip down installation tree
find $RPM_BUILD_ROOT%{l_prefix} -name perllocal.pod -print | xargs rm -f find $RPM_BUILD_ROOT%{l_prefix} -name perllocal.pod -print | xargs rm -f
find $RPM_BUILD_ROOT%{l_prefix} -name .packlist -print | xargs rm -f find $RPM_BUILD_ROOT%{l_prefix} -name .packlist -print | xargs rm -f

Loading…
Cancel
Save