Группа :: Система/Настройка/Пакеты
Пакет: rpm
Главная Изменения Спек Патчи Загрузить Bugs and FR
17 января 2006 Grigory Batalov <bga at altlinux.ru> 4.0.4-alt40.M24.1
- Handle *.pth files like other python files
(#8812, patch from Ivan Fedorov).
Backported feature from Sisyphus (4.0.4-alt55).
- find-lang:
+ more tweaks (#4540).
+ more options (#3244).
- rpmio/macro.c(grabArgs):
+ fixed to avoid newline eat up (#366). - lib/header.c:
+ changed headerFindI18NString() and others to follow
the gettext(3) rules (#1379). - build.c(buildForTarget):
+ implemented %_buildrequires_build support. - find-lang:
+ corrected regexps (#4228). - platform:
+ %set_*_version: update %_buildrequires_build (#3335);
+ run scrollkeeper-update quietly (#4485);
+ fixed typo in %add_python_lib_path(). - find-provides:
+ parse unrecognized __init__.py files as python files,
patch from Andrey Orlov.
- Disallow root to install source packages by default.
- find-lang: handle symlinks in --with-gnome mode.
- find-requires:
+ updated hooks for python support, from Andrey Orlov. - brp-bytecompile_python:
+ use new bytecompiler, from Andrey Orlov. - platform:
+ added python to default lists of find{req,prov} methods.
- build/parseReqs.c(parseRCPOT): better error reporting (#3883).
- fixup-libraries: recognize PIE objects.
- platform: added more python macros, from Andrey Orlov.
- find-requires, find-provides:
+ updated hooks for python support, from Andrey Orlov
with minor tweaks.
- find-requires, find-provides:
+ Implemented hooks for python support, from Andrey Orlov
with minor tweaks.
- Backported db-4.1 support (#3464).
- Implemented db-4.2 support.
- rpmdb: enhanced rebuilding database messages.
- find_lang: implemented support for symlinks in /usr/share/locale/.
- platform: added force_* macros suggested by Alexey Morozov.
- headerFindI18NString: do not translate empty strings.
- expandMacro: handle single % properly.
- Fixed build with fresh autotools.
- lib/psm.c(runScript):
+ executed scripts expect default SIGPIPE handler,
so reset it (fixes #2573). - find-provides:
+ for symlinks to shared libraries, ignore symlinks to shorter
locations (workaround for libdb-4.0.so provides problem). - macros:
+ fixed %__cxx macro definition (reported by aris@),
was broken since 4.0.4-alt29.
- find-provides: changed output format of extra provides
for sonames found in non-default locations
(introduced in 4.0.4-alt30). - build/reqprov.c(addReqProv):
+ enhanced duplicates elimination algorithm,
it now covers all known optimization cases;
+ implemented %_deps_optimization support. - Updated README.ALT-ru_RU.KOI8-R.
- build/parseReqs.c(parseRCPOT):
+ tokens must not contain '%<=>' symbols since it is common
packaging error. - build/reqprov.c(compare_deps):
+ fixes in duplicates detection algorithm introduced in
previous release. - build/reqprov.c(addReqProv):
+ enhanced duplicates elimination algorithm;
it should cover most optimization cases.
- Reviewed all shell helpers for unneeded pattern
substitutions (#2743). - find-provides: output extra provides for sonames found in
non-default locations. - build/parseReqs.c(parseRCPOT):
tokens must not contain '%' symbol since it is common
macros manipulation error. - build/reqprov.c(addReqProv):
+ rewritten duplicates detection algorithm;
+ implemented "provided requires" detection. - Build python module with latest python.
- brp-cleanup: fixed possible cleanup misses.
- brp-cleanup, platform: implemented %_keep_libtool_files support.
- verify-elf: verify SUID/SGID ELF objects as well.
- fixup-libraries: fix SUID/SGID libraries as well.
- find-lang: implemented --with-kde option (aris@, #2666).
- find-provides: simplify check for perl files (at@ request).
- rpmd, rpmi, rpmk: do not link with librpmbuild.
- /bin/rpm: build dynamically and relocate to /usr/bin;
provide symlink for compatibility. - /usr/bin/rpm.static: package separately.
- /usr/lib/librpmbuild-4.0.4.so: package separately.
- Relocated /usr/lib/rpm/{rpmrc,macros} to librpm subpackage.
- Removed c++ from build dependencies.
- lib/depends.c(rpmRangesOverlap):
changed algorithm so EVRs will be compared
if at least one of compared packages has EVR information. - lib/depends.c(rangeMatchesDepFlags,alAllSatisfiesDepend):
when using rpmRangesOverlap for versioned requires, ensure that
provides are also versioned.
- brp-verify_elf:
"%set_verify_elf_method relaxed" now affects textrel as well as rpath. - verify-elf:
print textrel information even if textrel=relaxed. - pam.{prov,req}: better error diagnostics.
- platform: corrected %__python_version definition (#3311).
- Fixed Makefiles to correct librpm*-4.0.4.so dependencies.
- Do not package .la files.
- brp-cleanup: remove lib*.la files from /lib, /usr/lib, and /usr/X11R6/lib.
- brp-fix-perms, fixup-libraries:
+ strip executable bit from non-executable libraries;
+ ensure that file objects in /usr/ are user-writable. - rpmbuild --rebuild/--recompile: implemented support for new macros:
%_rpmbuild_clean and %_rpmbuild_packagesource. - Updated README.ALT-ru_RU.KOI8-R.
- helper shell scripts:
+ use printf instead of echo where appropriate;
+ moved common code to /usr/lib/rpm/functions. - Implemented %_unpackaged_files_terminate_build support.
- rpm-build: do not package /usr/lib/rpm/mkinstalldirs.
- Do not package build-topdir subpackage by default.
- verify_elf: implemented TEXTREL checking.
- Updated README.ALT-ru_RU.KOI8-R.
- gendiff: cleanup (#2558).
- build/files.c: fixed RPMTAG_SIZE calculation (#2634).
- New group: Graphical desktop/XFce (#3048).
- platform.in(%configure):
+ invoke libtoolize when configure.ac is present (#3049). - pam.prov:
+ validate $PAM_NAME_SUFFIX. - pam.req:
+ validate $PAM_SO_SUFFIX and $PAM_NAME_SUFFIX;
+ induce "buildreq -bi" to generate dependence on
libpam-devel package (#3050). - Updated README.ALT-ru_RU.KOI8-R.
- find-package:
+ when dependence name starts with `/',
look into pkg contents binary index as well;
+ fixed package database checks. - perl.{req,prov}: relocated to separate subpackage.
- tcl.req: fixed perl syntax (at).
- rpm-build: do not package /usr/lib/rpm/config.* files (#2732).
- build/pack.c: create %_srcrpmdir (#2353).
- rpmrc.in:
+ added armv5 arch support (#2801, Sergey Bolshakov). - configure.in:
+ fixed build without python (#2802, Sergey Bolshakov). - perl.{req,prov}:
+ new version from perl maintainer (Alexey Tourbin).
- autogen.sh:
+ removed all autotools restrictions. - platform.in:
+ fixed typo in %_scripts_debug support.
+ %optflags_warnings: added "--enable Werror" support. - find-requires:
+ updated to support ELF objects with private flags.
- lib/depends.c:
+ fixed "Requires(post,preun)" problem. - lib/psm.c:
+ do syslog only when geteuid() == 0. - build/poptBT.c, build/rpmbuild.h, build.c, rpmqv.c:
+ implemented "rpmbuild -bM" (raorn). - build/parsePreamble.c:
+ disabled readIcon() code (fixes #0002637). - rpmpopt.in:
+ ignore build dependencies in "rpm* -C" (at);
+ added alias for "rpm -bM". - librpm: stripped off executable bits from libraries.
- platform.in:
+ always define RPM_BUILD_ROOT;
+ define PAM_SO_SUFFIX and PAM_NAME_SUFFIX;
+ define RPM_SCRIPTS_DEBUG if %_scripts_debug is set;
+ removed "-fexpensive-optimizations" from %optflags_optimization
since it's included in -O2 and -Os. - find-provides:
+ enable shell trace mode if $RPM_SCRIPTS_DEBUG is set;
+ fixed "readlink -fv" bug introduced in 4.0.4-alt20;
+ do not ignore symlinks when parsing PAM scripts. - find-requires:
+ enable shell trace mode if $RPM_SCRIPTS_DEBUG is set. - find-package:
+ updated pkg contents index code. - pam.prov:
+ honor $PAM_NAME_SUFFIX. - pam.req:
+ honor %PAM_SO_SUFFIX and $PAM_NAME_SUFFIX. - build/files.c:
+ honor generateDepends() return code. - rpminit:
+ do not be verbose by default;
+ parse -v/--verbose option.
- find-provides:
+ ignore symlinks when looking for non-library provides;
+ ignore symlinks for libraries without soname;
+ for libraries with soname, ignore all but files named as soname. - pam.req: implemented include control directive support.
- brp-cleanup: PAM configuration policy enforcement.
- Updated README.ALT-ru_RU.KOI8-R.
- Reduced amount of rpm subpackage dependencies.
- Moved update-alternatives to separate package.
- convertrpmrc.sh: relocated to build subpackage.
- find-requires: more filename-based autodependencies.
- find-provides: limit path where to search library provides.
- platform.in: added macros for find-provides library
search path manipulations. - perl.{req,prov}: new version from perl maintainer.
- brp-strip: removed perms-based lookup optimization.
- rpmio: fixed gzclose error handling.
- rpm2cpio: return proper exit code.
- Fixed perl provides autodetection (broken in -alt16).
- platform.in:
+ %get_dep(): make valid string even for missing packages;
+ changed macros: %post_service, %preun_service
(due to new info-install package). - New group: Sciences/Medicine.
- Do not package cron and logrotate scripts.
- Updated package dependencies.
- Fixed segfault on "rpmquery --qf '%{FILENAMES}' basesystem" command.
- Implemented shell functions requires/provides autodetection
and enabled it by default. - New groups (#0002429):
+ Development/Functional
+ Development/Haskell
+ Development/Lisp
+ Development/ML
+ Development/Scheme - Do not build API docs by default.
- Fixed `rpmbuild -bE' return code (#0001021).
- platform.in:
+ export MAKEFLAGS variable (#0001796).
+ changed macros: %post_service, %preun_service
(due to new service package). - update-alternatives.8: fixed atavism (#0002273).
- Updated libdb4 build requirements.
- find-package, platform.in: added pkg contents index support.
- rpmio/macro.c: filter out non-alphanumeric macro files (#0001925).
- perl.req: fixed typo (#0002056).
- find-lang: added support for gnome omf files.
- build/build.c: unset all known locale environment variables
right before executing %___build_cmd. - ru.po: minor translation fixes.
- Fixed skiplists processing.
- rpminit(1): imported from Owl with ALT adaptions.
- lib/query.c: rpmQueryVerify[RPMQV_RPM]: parse file argument
(do glob and other expansions) only if glob_query is enabled
[and disabled it by default].
This change allows widespread constructions like
"find -print0 |xargs -r0 rpmquery -p --". - find-requires: fixed perl script autodetection (#0001680).
- macros:
+ Removed some obsolete macros.
+ %___build_pre: moved to platform;
+ Added warning about misspelled architecture.
+ Added %__spec_*_custom_{pre,post} macros. - platform:
+ %___build_pre: moved from macros.
+ Adjusted %_configure_target macro,
now uses both --build and --host options.
+ Adjusted %clean_buildroot,
now uses "%__chmod -Rf u+rwX".
+ Reintroduced %_fixperms macro,
now uses "%__chmod -Rf u+rwX,go-w".
+ Added CCACHE_CXX support. - rpmpopt:
+ Added with/without/enable/disable aliases to rpmq/rpmquery. - Fixed permissions on /usr/lib/rpm in -build subpackage
(thanks to Ivan Zakharyaschev).
- Fixed error handling in shell scripts.
- platform: updated %optflags_kernel for gcc-3.2.
- find-requires: added lookup for /etc/cron.*ly.
- Updates for perl-5.8.0 migration:
+ platform: added %_perl_req_method/%set_perl_req_method macros.
+ macros: %___build_pre: export RPM_PERL_REQ_METHOD.
+ perl.{req,prov}: new version (Alexey Tourbin).
- New macros:
%set_{autoconf,automake,libtool}_version.
- find-requires: added libperl/nolibperl options.
- New group: System/Servers/ZProducts.
- lib/header.c: headerFindI18NString: check for LANGUAGE first.
- perl.req: s/perl >= /perl-base >= / (Alexey Tourbin)
- Commented out old %perl_* macros.
- Migrated to gettext-0.11.5.
- Fixed %doc (was broken in -alt6).
- Fixed skiplists processing.
- New macro: %_customdocdir (affects DOCDIR processing).
- lib/psm.c: fixed chroot(2) handling (aka "rpmi --dbpath" problem).
- po/ru.po: translation fix (#0001286).
- New method now gets executed after %install:
brp-fixup (controlled by %_fixup_method macro). - New macros:
+ %_{cleanup,compress,fixup,strip,verify_elf,findreq,findprov}_{topdir,skiplist};
+ %set_{cleanup,compress,fixup,strip,verify_elf,findreq,findprov}_{topdir,skiplist}();
+ %add_{cleanup,compress,fixup,strip,verify_elf,findreq,findprov}_skiplist();
+ %__gcc_version{,_major,_minor,_patch,_base}. - New groups:
+ Development/Objective-C;
+ Education;
+ Games/Educational.
- new brp method: verify_elf.
- platform:
+ set %_verify_elf_method to "normal";
+ added %set_verify_elf_method() macro;
+ set %_configure_target to "--build=%{_target_platform}".
- Fixed typo in %install_info/%uninstall_info macros (sb).
- brp-strip:
+ added --skip-files option;
+ by default, skip all files matched by '*/debug/*' pattern.
- Removed README.ALT, added README.ALT-ru_RU.KOI8-R
(based on alt-packaging/rpm.spec). - Use subst instead of perl for build.
- find-requires: added glibc-devel-static requirement autogeneration.
- rpmio:
+ implemented macrofiles globbing.
+ implemented MkdirP. - build/pack.c, lib/psm.c: make use of MkdirP for build.
- rpmpopt:
+ cloned all rpmq aliases for rpmquery;
+ added --nowait-lock alias for rpm, rpmq and rpmquery;
+ added -C alias for rpmbuild. - platform:
+ Changed default value for _strip_method to "none" when "--enable debug" is used. - macros:
+ added %__subst;
+ %___build_pre: do %__mkdir_p %_builddir before chdir there. - rpmrc: added /etc/rpm/macros.d/* to macrofiles search list.
- find-requires: added /etc/rpm/macros.d dependence autodetection.
- brp-cleanup, brp-compress, brp-strip, compress_files:
+ Added parameter filtering. - rpm: provides /etc/rpm/macros.d
- rpm-build: requires /usr/bin/subst.
- New group: Graphical desktop/GNUstep.
- Moved contrib subpackage under with/without logic control and disabled
packaging by default. - Moved %_srcdir/RPM from rpm-build subpackage to rpm-build-topdir
subpackage (for reference; it is no longer needed).
- Fixed %basename builtin macro.
- Implemented %homedir builtin macro.
- Updated code to snapshot 2002-06-15 of 4_0 branch.
- Migrated to: automake >= 1.6.1, autoconf >= 2.53.
- Refined database locking patch (controlled by %_wait_for_lock).
- update-alternatives: enhanced --config option; various fixes.
- New group: Development/Ruby.
- Dropped compatibility symlink to alt-gpgkeys
(was added in previous release).
- Moved ALT GnuPG keyring to separate package (alt-gpgkeys).
- New rpm macros:
subst_with();
subst_enable(). - Merged patches from Ivan Zakharyaschev:
- Fixed a pair of swapped function dscriptions.
- Fixed a pair of segfaults in query format parser.
- Added a pair of new things to the query format:
the '>'-test, ':nothing' format variant and
implemented '-q --changes-since=<e:v-r>' upon them (docs added).
- Updated code to snapshot 2002-05-23 of 4_0 branch.
- runScript(): export RPM_INSTALL_ARG{1,2} variables.
- convert(): added full i18n support (it costs one more memleak).
- Support setting the BuildHost tag explicitly rather than only
from what the kernel thinks the system's hostname is (Owl). - find-requires: include all versioned dependencies,
not only "GLIBC|GCC|BZLIB". - New group: Development/Debuggers.
- Backported popt "rpm -bE" alias from rpm3 (Anton Denisov).
- New rpm macros:
+ ldconfig update (mhz):
post_ldconfig_lib
post_ldconfig_sys
post_ldconfig
postun_ldconfig
+ TCL directories (sb):
_tcllibdir
_tcldatadir - %___build_pre changes:
+ unset DISPLAY and XAUTHORITY unless explicitly redefined
by %_build_display and %_build_xauthority;
+ unset CCACHE_CC and CCACHE_DIR unless explicitly redefined
by %__ccache_cc and %__ccache_dir (ab).
- Updated code to snapshot 2002-04-19 of 4_0 branch.
- Updated code to snapshot 2002-04-11 of 4_0 branch (fixes #0000815).
- Updated code to snapshot 2002-04-04 of 4_0 branch.
- Updated gpg keyring (added: 21, dropped: 2, total: 54).
- New rpm macros:
defined()
undefined()
ifndef()
with()
without()
if_with()
if_without()
enabled()
disabled()
if_enabled()
if_disabled()
- Updated code to snapshot 2002-03-27 of 4_0 branch.
- New popt aliases:
--enable
--disable - New rpm macros:
ifdef()
check_def()
def_with()
def_without()
def_enable()
def_disable()
post_ldconfig
postun_ldconfig - Honor _enable_debug macro in optflags_* definitions.
- Use postun_ldconfig.
- Automated librpm and rpm-build versioned dependencies.
- Updated russian translations.
- New macros from ab:
rpm_check_field(p:)
php_version(n:)
php_release(n:)
- Updated code to snapshot 2002-03-22 of 4_0 branch.
- Updated librpm dependencies:
libpopt >= 1:1.7-alt3, zlib >= 1.1.4, bzlib >= 1:1.0.2-alt1, libdb4. - New macros: %get_SVR(), %get_dep().
- brp-compress.in: implemented execute permissions removal from manpages.
- brp-fix-perms: do not attempt to fix symlinks
(fixes filesystem rebuild problem). - brp-bytecompile_python: recompile also with optimization.
- platform.in: fixed %__python_version definition.
- find-package: s/rpm -qf/rpmquery --whatprovides/g.
- rpmlib: do also RPMTAG_PROVIDENAME lookup for
rpmQueryVerify(RPMQV_WHATPROVIDES) items starting with "/".
- update-alternatives: test not for file readability but for file existance;
- new macros: update_wms, clean_wms, update_scrollkeeper, clean_scrollkeeper;
- obsolete macros: make_session.
- Built with new libdb3 (whith fixed chroot_hack),
updated libdb3 dependencies; so "rpm --root" option works again. - find-requires: fixed soname version reference requires generation
(added GCC and BZLIB). - Fixed russian translation (locking messages).
- Updated gpg keyring.
- Updated code to 4.0.3 release.
- rpm subpackage: fixed dependencies (glibc --> glibc-core).
- Added /usr/lib/perl5/man to default docdir list.
- Added permissions enforcing for documentation created by %doc directive.
- Exit with nonzero if %doc directive fails.
- Added permission policy enforcement (via brp-fix-perms script).
- Built with chroot_hack enabled, updated libdb3 dependencies.
Beware of --root option for now.
- Updated requires for build subpackage.
- find-requires: added more rules for files method: logrotate, vixie-cron, chrooted.
- Fixed macros:
%configure. - Fixed %post script for installer and BTE.
- Fixed syslog messages (#0000157).
- Ignore icons in preprocess mode (ab).
- Fixed macros:
%remove_optflags, %add_optflags, %__glibc_version_minor,
%install_info, %uninstall_info. - Fixed libpopt versioned prerequires.
- Database locking backport: fixed error checking.
- Fixed nested boolean expressions parsing.
- Backported database locking (use %_wait_for_lock to control).
- Updated code from 4_0 branch:
* Mon Nov 5 2001 Jeff Johnson <jbj@redhat.com> - fix: big-endian's with sizeof(time_t) != sizeof(int_32) mtime broken.
- add RPHNPLATFORM and PLATFORM tags.
- Corrected directory attributes.
- Made "--rebuilddb -v" more verbose.
- Implemented automatic db3 migration.
- Updated russian translations.
- Initial ALT prerelease (with partial ALT specific backport from rpm3)
based on 4.0.3 rh release 1.06.
TODO: - backport database locking (--nowait-lock);
- update russian translations;
- implement automatic db3 migration.