Add rebuild_from_scratch for bootstraping of new Perl.

This commit is contained in:
Marcela Mašláňová 2012-08-10 15:56:17 +02:00
parent 238c164433
commit b8db8cdb84

View File

@ -265,7 +265,7 @@ for the creation of tar file objects for custom manipulation. If you have the
IO::Zlib module installed, Archive::Tar will also support compressed or IO::Zlib module installed, Archive::Tar will also support compressed or
gzipped tar files. gzipped tar files.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Carp %package Carp
Summary: Alternative warn and die for modules Summary: Alternative warn and die for modules
Epoch: 0 Epoch: 0
@ -289,7 +289,7 @@ module was called. There is no guarantee that that is where the error was,
but it is a good educated guess. but it is a good educated guess.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package CGI %package CGI
Summary: Handle Common Gateway Interface requests and responses Summary: Handle Common Gateway Interface requests and responses
Group: Development/Libraries Group: Development/Libraries
@ -318,7 +318,7 @@ CGI.pm performs very well in in a vanilla CGI.pm environment and also comes
with built-in support for mod_perl and mod_perl2 as well as FastCGI. with built-in support for mod_perl and mod_perl2 as well as FastCGI.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Compress-Raw-Bzip2 %package Compress-Raw-Bzip2
Summary: Low-Level Interface to bzip2 compression library Summary: Low-Level Interface to bzip2 compression library
Group: Development/Libraries Group: Development/Libraries
@ -360,7 +360,7 @@ BuildArch: noarch
%description CPAN %description CPAN
Query, download and build perl modules from CPAN sites. Query, download and build perl modules from CPAN sites.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package CPAN-Meta %package CPAN-Meta
Summary: Distribution metadata for a CPAN dist Summary: Distribution metadata for a CPAN dist
Epoch: 0 Epoch: 0
@ -413,7 +413,7 @@ BuildArch: noarch
The CPANPLUS library is an API to the CPAN mirrors and a collection of The CPANPLUS library is an API to the CPAN mirrors and a collection of
interactive shells, commandline programs, etc, that use this API. interactive shells, commandline programs, etc, that use this API.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Data-Dumper %package Data-Dumper
Summary: Stringify perl data structures, suitable for printing and eval Summary: Stringify perl data structures, suitable for printing and eval
Group: Development/Libraries Group: Development/Libraries
@ -431,7 +431,7 @@ variable is output in a single Perl statement. Handles self-referential
structures correctly. structures correctly.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Digest %package Digest
Summary: Modules that calculate message digests Summary: Modules that calculate message digests
Group: Development/Libraries Group: Development/Libraries
@ -468,7 +468,7 @@ Message Digest algorithm from within Perl programs. The algorithm takes as
input a message of arbitrary length and produces as output a 128-bit input a message of arbitrary length and produces as output a 128-bit
"fingerprint" or "message digest" of the input. "fingerprint" or "message digest" of the input.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Digest-SHA %package Digest-SHA
Summary: Perl extension for SHA-1/224/256/384/512 Summary: Perl extension for SHA-1/224/256/384/512
Group: Development/Libraries Group: Development/Libraries
@ -534,7 +534,7 @@ BuildArch: noarch
Handles the installing and uninstalling of perl modules, scripts, man Handles the installing and uninstalling of perl modules, scripts, man
pages, etc. pages, etc.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package ExtUtils-MakeMaker %package ExtUtils-MakeMaker
Summary: Create a module Makefile Summary: Create a module Makefile
Group: Development/Languages Group: Development/Languages
@ -557,7 +557,7 @@ BuildArch: noarch
Create a module Makefile. Create a module Makefile.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package ExtUtils-Manifest %package ExtUtils-Manifest
Summary: Utilities to write and check a MANIFEST file Summary: Utilities to write and check a MANIFEST file
Group: Development/Languages Group: Development/Languages
@ -618,7 +618,7 @@ Source filters alter the program text of a module before Perl sees it, much as
a C preprocessor alters the source text of a C program before the compiler a C preprocessor alters the source text of a C program before the compiler
sees it. sees it.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package IO-Compress %package IO-Compress
Summary: IO::Compress wrapper for modules Summary: IO::Compress wrapper for modules
Group: Development/Libraries Group: Development/Libraries
@ -686,7 +686,7 @@ It is more correct and more complete than HTTP::Lite. It supports proxies
(currently only non-authenticating ones) and redirection. It also correctly (currently only non-authenticating ones) and redirection. It also correctly
resumes after EINTR. resumes after EINTR.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package JSON-PP %package JSON-PP
Summary: JSON::XS compatible pure-Perl module Summary: JSON::XS compatible pure-Perl module
Epoch: 0 Epoch: 0
@ -705,7 +705,7 @@ Marc Lehmann in C, so must be compiled and installed in the used environment.
JSON::PP is a pure-Perl module and is compatible with JSON::XS. JSON::PP is a pure-Perl module and is compatible with JSON::XS.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Locale-Codes %package Locale-Codes
Summary: Distribution of modules to handle locale codes Summary: Distribution of modules to handle locale codes
Epoch: 0 Epoch: 0
@ -925,7 +925,7 @@ Package::Constants lists all the constants defined in a certain package. This
can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK
for a Constants.pm file. for a Constants.pm file.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package PathTools %package PathTools
Summary: PathTools Perl module (Cwd, File::Spec) Summary: PathTools Perl module (Cwd, File::Spec)
# PathTools aka File::Spec # PathTools aka File::Spec
@ -952,7 +952,7 @@ BuildArch: noarch
%description Params-Check %description Params-Check
Params::Check is a generic input parsing/checking mechanism. Params::Check is a generic input parsing/checking mechanism.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Parse-CPAN-Meta %package Parse-CPAN-Meta
Summary: Parse META.yml and other similar CPAN metadata files Summary: Parse META.yml and other similar CPAN metadata files
Group: Development/Libraries Group: Development/Libraries
@ -972,7 +972,7 @@ Parse::CPAN::Meta is a parser for META.yml files, based on the parser half of
YAML::Tiny. YAML::Tiny.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Perl-OSType %package Perl-OSType
Summary: Map Perl operating system names to generic types Summary: Map Perl operating system names to generic types
Version: 1.002 Version: 1.002
@ -1023,7 +1023,7 @@ This software distribution contains the packages for using Perl5 POD (Plain
Old Documentation). See the "perlpod" and "perlsyn" manual pages from your Old Documentation). See the "perlpod" and "perlsyn" manual pages from your
Perl5 distribution for more information about POD. Perl5 distribution for more information about POD.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Pod-Perldoc %package Pod-Perldoc
Summary: Look up Perl documentation in Pod format Summary: Look up Perl documentation in Pod format
Group: Development/Libraries Group: Development/Libraries
@ -1057,7 +1057,7 @@ Pod::Simple is a Perl library for parsing text in the Pod ("plain old
documentation") markup language that is typically used for writing documentation") markup language that is typically used for writing
documentation for Perl and for Perl modules. documentation for Perl and for Perl modules.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Scalar-List-Utils %package Scalar-List-Utils
Summary: A selection of general-utility scalar and list subroutines Summary: A selection of general-utility scalar and list subroutines
Group: Development/Libraries Group: Development/Libraries
@ -1106,7 +1106,7 @@ Obsoletes: perl-TAP-Harness < 3.10
Run Perl standard test scripts with statistics. Run Perl standard test scripts with statistics.
Use TAP::Parser, Test::Harness package was whole rewritten. Use TAP::Parser, Test::Harness package was whole rewritten.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Test-Simple %package Test-Simple
Summary: Basic utilities for writing tests Summary: Basic utilities for writing tests
Group: Development/Languages Group: Development/Languages
@ -1152,7 +1152,7 @@ with implementations that return objects. It does so in a backwards compatible
manner, so that using localtime or gmtime as documented in perlfunc still manner, so that using localtime or gmtime as documented in perlfunc still
behave as expected. behave as expected.
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package parent %package parent
Summary: Establish an ISA relationship with base classes at compile time Summary: Establish an ISA relationship with base classes at compile time
Group: Development/Libraries Group: Development/Libraries
@ -1177,7 +1177,7 @@ inheritance from those modules at the same time. Mostly similar in effect to:
} }
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Socket %package Socket
Summary: C socket.h defines and structure manipulators Summary: C socket.h defines and structure manipulators
Group: Development/Libraries Group: Development/Libraries
@ -1194,7 +1194,7 @@ that it has a far more likely chance of getting the numbers right. This
includes all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc. includes all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package threads %package threads
Summary: Perl interpreter-based threads Summary: Perl interpreter-based threads
Group: Development/Libraries Group: Development/Libraries
@ -1216,7 +1216,7 @@ As just mentioned, all variables are, by default, thread local. To use shared
variables, you need to also load threads::shared. variables, you need to also load threads::shared.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package threads-shared %package threads-shared
Summary: Perl extension for sharing data structures between threads Summary: Perl extension for sharing data structures between threads
Group: Development/Libraries Group: Development/Libraries
@ -1234,7 +1234,7 @@ following data types only: scalars and scalar refs, arrays and array refs, and
hashes and hash refs. hashes and hash refs.
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package version %package version
Summary: Perl extension for Version Objects Summary: Perl extension for Version Objects
Group: Development/Libraries Group: Development/Libraries
@ -1249,7 +1249,7 @@ BuildArch: noarch
Perl extension for Version Objects Perl extension for Version Objects
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%package Version-Requirements %package Version-Requirements
Summary: Set of version requirements for a CPAN dist Summary: Set of version requirements for a CPAN dist
License: GPL+ or Artistic License: GPL+ or Artistic
@ -2119,7 +2119,7 @@ sed \
%{_mandir}/man1/ptargrep.1* %{_mandir}/man1/ptargrep.1*
%{_mandir}/man3/Archive::Tar* %{_mandir}/man3/Archive::Tar*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Carp %files Carp
%{privlib}/Carp %{privlib}/Carp
%{privlib}/Carp.* %{privlib}/Carp.*
@ -2161,7 +2161,7 @@ sed \
%exclude %{privlib}/CPAN/Meta.pm %exclude %{privlib}/CPAN/Meta.pm
%exclude %{_mandir}/man3/CPAN::Meta* %exclude %{_mandir}/man3/CPAN::Meta*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files CPAN-Meta %files CPAN-Meta
%dir %{privlib}/CPAN/Meta %dir %{privlib}/CPAN/Meta
%{privlib}/CPAN/Meta.pm %{privlib}/CPAN/Meta.pm
@ -2189,7 +2189,7 @@ sed \
%{_mandir}/man1/cpanp.1* %{_mandir}/man1/cpanp.1*
%{_mandir}/man3/CPANPLUS* %{_mandir}/man3/CPANPLUS*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Data-Dumper %files Data-Dumper
%dir %{archlib}/auto/Data %dir %{archlib}/auto/Data
%dir %{archlib}/auto/Data/Dumper %dir %{archlib}/auto/Data/Dumper
@ -2213,7 +2213,7 @@ sed \
%{archlib}/auto/Digest/MD5/ %{archlib}/auto/Digest/MD5/
%{_mandir}/man3/Digest::MD5.3* %{_mandir}/man3/Digest::MD5.3*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Digest-SHA %files Digest-SHA
%{_bindir}/shasum %{_bindir}/shasum
%dir %{archlib}/Digest/ %dir %{archlib}/Digest/
@ -2240,7 +2240,7 @@ sed \
%{_mandir}/man3/ExtUtils::Installed.3* %{_mandir}/man3/ExtUtils::Installed.3*
%{_mandir}/man3/ExtUtils::Packlist.3* %{_mandir}/man3/ExtUtils::Packlist.3*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files ExtUtils-Manifest %files ExtUtils-Manifest
%{privlib}/ExtUtils/Manifest.pm %{privlib}/ExtUtils/Manifest.pm
%{privlib}/ExtUtils/MANIFEST.SKIP %{privlib}/ExtUtils/MANIFEST.SKIP
@ -2305,7 +2305,7 @@ sed \
%{_mandir}/man1/perlfilter.* %{_mandir}/man1/perlfilter.*
%{_mandir}/man3/Filter::Util::* %{_mandir}/man3/Filter::Util::*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files IO-Compress %files IO-Compress
# IO-Compress # IO-Compress
%{_bindir}/zipdetails %{_bindir}/zipdetails
@ -2368,7 +2368,7 @@ sed \
%{privlib}/IPC/Cmd.pm %{privlib}/IPC/Cmd.pm
%{_mandir}/man3/IPC::Cmd.3* %{_mandir}/man3/IPC::Cmd.3*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files JSON-PP %files JSON-PP
%{_bindir}/json_pp %{_bindir}/json_pp
%{privlib}/JSON/PP %{privlib}/JSON/PP
@ -2378,7 +2378,7 @@ sed \
%{_mandir}/man3/JSON::PP::Boolean.3pm* %{_mandir}/man3/JSON::PP::Boolean.3pm*
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Locale-Codes %files Locale-Codes
%{privlib}/Locale/Codes %{privlib}/Locale/Codes
%{privlib}/Locale/Codes.* %{privlib}/Locale/Codes.*
@ -2461,7 +2461,7 @@ sed \
%{privlib}/Package/ %{privlib}/Package/
%{_mandir}/man3/Package::Constants* %{_mandir}/man3/Package::Constants*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files PathTools %files PathTools
%{archlib}/Cwd.pm %{archlib}/Cwd.pm
%{archlib}/File/Spec* %{archlib}/File/Spec*
@ -2474,7 +2474,7 @@ sed \
%{privlib}/Params/ %{privlib}/Params/
%{_mandir}/man3/Params::Check* %{_mandir}/man3/Params::Check*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Parse-CPAN-Meta %files Parse-CPAN-Meta
%dir %{privlib}/Parse/ %dir %{privlib}/Parse/
%dir %{privlib}/Parse/CPAN/ %dir %{privlib}/Parse/CPAN/
@ -2482,13 +2482,13 @@ sed \
%{_mandir}/man3/Parse::CPAN::Meta.3* %{_mandir}/man3/Parse::CPAN::Meta.3*
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files parent %files parent
%{privlib}/parent.pm %{privlib}/parent.pm
%{_mandir}/man3/parent.3* %{_mandir}/man3/parent.3*
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Perl-OSType %files Perl-OSType
%{privlib}/Perl/OSType.pm %{privlib}/Perl/OSType.pm
%{_mandir}/man3/Perl::OSType.3pm* %{_mandir}/man3/Perl::OSType.3pm*
@ -2522,7 +2522,7 @@ sed \
%{_mandir}/man3/Pod::Select.* %{_mandir}/man3/Pod::Select.*
%{_mandir}/man3/Pod::Usage.* %{_mandir}/man3/Pod::Usage.*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Pod-Perldoc %files Pod-Perldoc
%{_bindir}/perldoc %{_bindir}/perldoc
%{privlib}/pod/perldoc.pod %{privlib}/pod/perldoc.pod
@ -2538,7 +2538,7 @@ sed \
%{privlib}/Pod/Simple.pod %{privlib}/Pod/Simple.pod
%{_mandir}/man3/Pod::Simple* %{_mandir}/man3/Pod::Simple*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Scalar-List-Utils %files Scalar-List-Utils
%{archlib}/List/ %{archlib}/List/
%{archlib}/Scalar/ %{archlib}/Scalar/
@ -2547,7 +2547,7 @@ sed \
%{_mandir}/man3/Scalar::Util* %{_mandir}/man3/Scalar::Util*
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Socket %files Socket
%dir %{archlib}/auto/Socket %dir %{archlib}/auto/Socket
%{archlib}/auto/Socket/Socket.* %{archlib}/auto/Socket/Socket.*
@ -2570,7 +2570,7 @@ sed \
%{_mandir}/man3/TAP* %{_mandir}/man3/TAP*
%{_mandir}/man3/Test::Harness* %{_mandir}/man3/Test::Harness*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Test-Simple %files Test-Simple
%{privlib}/Test/More* %{privlib}/Test/More*
%{privlib}/Test/Builder* %{privlib}/Test/Builder*
@ -2593,13 +2593,13 @@ sed \
%{_mandir}/man3/Time::Piece.3* %{_mandir}/man3/Time::Piece.3*
%{_mandir}/man3/Time::Seconds.3* %{_mandir}/man3/Time::Seconds.3*
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files Version-Requirements %files Version-Requirements
%{privlib}/Version/Requirements.pm %{privlib}/Version/Requirements.pm
%{_mandir}/man3/Version::Requirements* %{_mandir}/man3/Version::Requirements*
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files threads %files threads
%dir %{archlib}/auto/threads %dir %{archlib}/auto/threads
%{archlib}/auto/threads/threads* %{archlib}/auto/threads/threads*
@ -2607,7 +2607,7 @@ sed \
%{_mandir}/man3/threads.3* %{_mandir}/man3/threads.3*
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files threads-shared %files threads-shared
%{archlib}/auto/threads/shared* %{archlib}/auto/threads/shared*
%dir %{archlib}/threads %dir %{archlib}/threads
@ -2615,7 +2615,7 @@ sed \
%{_mandir}/man3/threads::shared* %{_mandir}/man3/threads::shared*
%endif %endif
%if %{dual_life} %if %{dual_life} || %{rebuild_from_scratch}
%files version %files version
%{privlib}/version.pm %{privlib}/version.pm
%{privlib}/version.pod %{privlib}/version.pod