Репозитории ALT
Группа :: Разработка/Прочее
Пакет: rpm-build-perl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
27 сентября 2009 Alexey Tourbin <at at altlinux.ru> 0.71-alt1
- PerlReq/Utils.pm: fixed RPM_PERL_LIB_PATH for whitespaces (ALT#21701)
- B/Walker.pm: new module, implements optree traversal
- B/Clobbers.pm: new experimental module, for checking global variables
- PerlReq/Utils.pm: updated version formatting algorithm for better precision;
the most general version format for rpm dependencies is now d.ddd.ddd
- macros (_perl_vendor_check_dso): disabled this check
- macros (_perl_vendor_check_dso): gcc -Wl,--no-as-needed
- perl.prov: try to detect block-level packages, fixes MP3/Tag.pm version
- B/PerlReq.pm (grok_import): silence numerical warning
- perl.req (isPerl): use plain -T test instead of non-ascii char counter
- perl.{req,prov}.files: use perl's -T test to recheck non-text files
- perl.req: implemented support for "perl -x" re-exec hack (fixes cvs2cl.pl)
- perl.req: implemented self-requires elimination for modules outside
established path, cf. ALT bug #7315
- made a few fixes for a special case `use Module 0==0', which is
internally translated into `Module->import(PL_sv_yes)' and should
yield `perl(Module) >= 1.0' dependency; this also fixes a regression
introduced in previous release - B/PerlReq.pm: in $SIG{__DIE__} handler, resort to Carp::cluck() without
checking $^S (checking $^S is unreliable since O.pm uses eval) - resolved some test suite issues (hopefully should pass on perl-5.9.5)
- perl.req.files: fixed "text" pattern for file(1)
- B/PerlReq.pm: fixed bug in prevDepF logic
- macros.d/perl5:
+ when doing Build.PL, parse _build/prereqs and dump .perl.req
+ better check for valid Build.PL (must have "dist_name" or "module_name") - PerlReq/Utils.pm: updated sv_version() algorithm, cf. perlbug 32967
- perl.prov:
+ implemented initial support for version.pm
+ when version assignment is found, check next line if it has
e.g. '$VERSION = eval $VERSION'
+ strip "use vars" statement before eval, fixes perl-Mozilla-LDAP
- B/PerlReq.pm:
+ fixed Carp::confess syntax problem (rt.cpan.org #22512, reported by
Steve Peters); actually removed Carp::confess and added $^S check
+ added Cygwin pattern to OS-specific dependencies
+ grok_version: do nothing unless version is set, so that the code
like 'Module->VERSION()', which yields Module version, does not
produce dependency on the Module
+ enhanced `use encoding ...' and PerlIO dependency detection - updated test suite for recent perl-5.8 snapshot
- added new files, for possible use with future rpm-build releases:
+ perl.req.files (perl.prov.files) - will select perl files for req/prov
+ /etc/rpm/macros.d/perl.env - piece of rpm-build scriplets' preamble
+ also placed a few rpm-build perl macros to /etc/rpm/macros.d/perl
- imported sources into git repo, which is available at
git://git.altlinux.org/people/at/packages/rpm-build-perl.git - fixed test suite for recent perl-5.8.x snapshot
- perl.{req,prov}: added pod2usage; removed --debug option, use -vv
- perl.prov: implemented limited support for `$VERSION = $Other::VERSION'
- B/PerlReq.pm:
+ major internal cleanup
+ a sketch for event-driven optree analysis blah-blah-blah
+ changed rules for dependencies found in BEGIN blocks: - never list ones that have not been loaded according to %INC,
except for 'use autouse qw(Module)' case - always list loaded ones (there's no easy way to find out if it's been
loaded by another module; I tried @INC hook + DB::DB debugger trap but
it didn't work)
+ two-fold speedup - macros.d/perl5:
+ export PERL_EXTUTILS_AUTOINSTALL=--skip
+ OTHERLDFLAGS="-lperl -lpthread $EXTRA_LIBS" ("full linkage") - removed /usr/lib/rpm/base.pm
- B/PerlReq.pm: enhanced PerlIO dependency tracking
- B/Perlreq.pm: dbmopen() requires AnyDBM_File.pm
- macros.d/perl5: export XSUBPP_STATIC_XS=1 -- this will make
some XS functions static (experimental, perl-5.8.7-alt2)
- fixed various perl-5.8.7 build issues
- bumped version and released on CPAN
- B/PerlReq.pm: track require_version() calls
- perl.req: restrict LD_LIBRARY_PATH to /usr/lib64 and /usr/lib
- B/PerlReq.pm: track PerlIO dependencies for "open" and "binmode"
- perl.prov: allow more opcodes for Safe->reval
- rpm-build-perl.spec: use the same /usr/lib/rpm directory on x86_64
- perl.prov: decrease verbosity when processing *.al files
- macros.d/perl5: preserve timestamps when making test
- perl.req: explode() was not imported
- released on CPAN (see http://search.cpan.org/dist/rpm-build-perl/)
- perl.prov: workaround perl bug #32967
- added partial support for relative paths
- restored OS2 pattern in skip lists (Andrei Bulava, #5713)
- enhanced error handling and debugging output
- bumped version (0.3 -> 0.5) to reflect major changes
- implemented B::PerlReq and made perl.req use it instead of B::Deparse
- new PerlReq::Utils module (convertion and formatting routines)
- version numbers now rounded to 3 digits after decimal point
- v-string versions now treated as floats (e.g. 1.2.3 -> 1.002)
- all dependencies on particular perl version converted to 1:5.x.y form
- enabled version extraction from PREREQ_PM in Makefile.PL
- wrote/updated/enhanced documentation, started README.ALT
- started test suite (more than 50 tests)
- downgraded perl requirements to 5.6.0
- perl.req: removed duplicating code
- macros.d/perl: fixed quoting
- macros.d/perl:
+ MDK compatibility: added %perl_vendor{lib,arch} directories
+ build: fix sharpbang magic lines (with a weired sed expression)
+ MM_install: don't fake PREFIX, rather specify DESTDIR (for gimp-perl) - perl.req:
+ adjust LD_LIBRARY_PATH for libraries inside buildroot (Yury Konovalov)
+ implemented tracker for dependencies like `use base qw(Foo Bar)'
- macros.d/perl: added build/install support for Module::Build
- perl.req:
+ s/use v5.8.0/use v5.8.1/ (to stop questions, it's all about B::Deparse)
+ don't simply require perl-base (don't bloat out, it's in basesystem) - macros.d/perl
+ don't remove comments produced by autosplit (line numbering lost)
+ drop PRINT_PREREQ stuff for a while
- perl.req: try to recover with -M$superclass on failures
- perl.prov: enhanced version detection
- yet another hot fix
- yet another hot fix
- don't produce dependencies on fake.pm
- fake.pm introduced (@INC entries rearrangement)
- perl.prov manpage introduced
- various fixes
- perl.req:
+ use $RPM_BUILD_ROOT/usr/bin/perl whenever available (experimental,
makes it possible to build incompatible perl) - macros.d/perl5
+ check for undefined symbols added
+ turned macro arguments into shell function arguments
+ %CPAN macro added for easy URLs
- perl.req:
+ counter of perl variables in isPerl() fixed
+ prolog detection enhanced
- perl.req:
+ isPerl(): try to detect non-perl files (in particular, Polish
and Prolog *.pl files) and allow failures even in normal mode
+ PRINT_PREREQ dependencies used only in strict mode
- perl.req: strip comments in shebang
- base.pm hacked and placed into /usr/lib/rpm in order to avoid
some weird syntax-check problems
- handling of #!perl command line options implemented
- /etc/rpm/macros.d/perl5 moved here from perl-devel package
- fixed RPM_PERL_LIB_PATH processing
- the package spawned from rpm-build
- fixed handling of taint-mode scripts
- perl.req(1) manual page created