Commit Graph

6017 Commits

Author SHA1 Message Date
Panu Matilainen dae15112df Permit multiple versions of a package to be installed (-i)
within a single transaction (rhbz#213399)
2007-06-11 11:59:09 +03:00
Panu Matilainen cb55ab4c35 Treat null epoch equal to zero epoch in python labelCompare (rhbz#227860).
Patch from JBJ.
2007-06-11 10:37:40 +03:00
Panu Matilainen 07b45099bb Treat null epoch equal to zero epoch in freshen (rhbz#143301). Patch from JBJ. 2007-06-11 10:30:29 +03:00
Panu Matilainen f32c97f621 Allow characters >127 that don't fit the current locale in the
specfile (e.g. latin1 in utf-8 locale).

Patch from OpenSuSE.
2007-06-08 16:07:05 +03:00
Panu Matilainen 2045bd1814 Fix a few format string errors in German translation. 2007-06-08 14:22:30 +03:00
Panu Matilainen 20b4dbe0ba Run msgfmt in check-mode to detect format string etc errors. 2007-06-08 14:18:53 +03:00
Panu Matilainen 4217137828 Updated Finnish translation.
Fix (by correcting or removing) tonne of dangerously incorrect fuzzy
translations.
2007-06-08 13:57:08 +03:00
Panu Matilainen 48048a3930 Ts/db reference counting for match-iterators in python (rhbz#241751)
Adds additional refcounting to the python level ts/db object to avoid
anonymous ts/db from getting deleted while still iterating over it.
2007-06-07 21:51:59 +03:00
Panu Matilainen 578e90f2f8 Ooops, rpmdbFindFpList() not finding anything is not an error... 2007-06-07 14:59:45 +03:00
Panu Matilainen 825191fe76 Return error codes from rpmdbFindFpList() on "can't happen" situations.
rpmtsRun() already checks it, and those things can happen in some exotic
cases like rhbz#106057 as non-root, unless the non-temporary db's are opened
before chroot...
2007-06-07 14:56:48 +03:00
Paul Nasrat fe762d20a5 Detect python2.5 2007-06-07 11:49:48 +01:00
Panu Matilainen f17f9a948a Add new srcdefattr macro (Michael Schroeder / OpenSuSE)
Helps avoiding useless warnings when installing src.rpm's etc.
(susebz#48870, rhbz#125515)
2007-06-07 13:19:43 +03:00
Panu Matilainen 22281cf90b Another TODO-update. 2007-06-07 12:56:22 +03:00
Panu Matilainen 40f4ed1de8 Remove old testing cruft. 2007-06-07 12:15:52 +03:00
Panu Matilainen 1c254443c7 Minor fix to zh_TW translation (Wei-Lun Chao) 2007-06-07 10:29:54 +03:00
Panu Matilainen b06dfb3870 Add zh_TW translation (Wei-Lun Chao). Remove empty zh and zh_CN.GB2312 po's. 2007-06-07 09:09:49 +03:00
Panu Matilainen 8ae7508882 Disable strict aliasing to stop type-punning warning spew. 2007-06-06 16:56:17 +03:00
Panu Matilainen 0f18a279a8 Add db3 back to AC_CONFIG_SUBDIRS. Oops... 2007-06-06 16:12:58 +03:00
Panu Matilainen 63548fdfa0 Make po Makefiles honor datarootdir 2007-06-06 14:46:47 +03:00
Panu Matilainen e8c0fa24be More auto*foo cleanups:
- move AIX and MINIX checks earlier to avoid complaints
- use AC_PROG_LIBTOOL instead of -RANLIB to avoid obsoletion warning
2007-06-06 14:42:19 +03:00
Panu Matilainen 802add035e autogen.sh tweaking:
- generate config.rpath from autogen for now (kludge...)
- update autogen "documented versions" to F7 level, remove double versions
  checks (and complaints) from file/autogen
2007-06-06 14:40:54 +03:00
Panu Matilainen 1371af04f4 Unbreak zlib configure check. 2007-06-06 13:37:18 +03:00
Panu Matilainen 98d634bc7f Make peace with auto*foo.
- Remove checks for internal zlib
- Don't try to auto*foo'ize nonexistent zlib, sqlite subdirs. Db3 subdir
  isn't auto*-enabled
- Set AM_GNU_GETTEXT_VERSION to make auto"#¤"# to realize we're using gettext
- Don't stomp into auto*** namespace with LUA_SPLINT stuff (from JBJ)
2007-06-06 12:50:56 +03:00
Panu Matilainen c7f7ebe61c Remove popt internal gettext, make peace with auto*foo.
Rpm internal gettext was already removed, but there was another copy in popt...
Fiddle with auto*foo to quieten various warnings and actually pass
make distcheck.
2007-06-06 12:45:20 +03:00
Panu Matilainen d25fe17c71 Allow tests to pass in distcheck where builddir != srcdir. 2007-06-06 12:01:24 +03:00
Panu Matilainen c755a3820e Force FILEVERIFYFLAGS to be a list in python bindings. 2007-06-05 15:34:52 +03:00
Panu Matilainen 504775bb69 Python rpm.te Key() refcount fix (rhbz#182063) from JBJ. 2007-06-05 15:18:49 +03:00
Panu Matilainen 7ca1302536 Fix typo in check-prereq (rhbz#203182) by Steve Grubb. 2007-06-05 15:16:37 +03:00
Panu Matilainen 592a1e5998 Payload compatibility checking fixes.
Only check for payload compatibility when dealing with packages (and not
eg build headers). Don't crash if no payload format defined in header.
2007-06-05 12:43:53 +03:00
Panu Matilainen 086dac456e Add --dupes popt alias for detecting duplicate packages in rpmdb from JBJ. 2007-06-05 09:45:58 +03:00
Panu Matilainen 768b36f1cf Restore SIGILL handler in machine detection code.
Patch from OpenSuSE.
2007-05-29 13:43:06 +03:00
Panu Matilainen 89e3d5c1ae Run filelist checks even if other errors are present.
This causes the unpackaged files check to be run even if there are other
errors in the file processing. This is rather handy in spotting spec typos
and such.

Patch from OpenSuSE, somewhat modified.
2007-05-25 12:57:10 +03:00
Paul Nasrat a3f86a1d3d Fail if no beecrypt found 2007-05-24 14:40:54 +01:00
Panu Matilainen c3ce7e90a5 Check for supported payload format on package install. (rhbz#140052)
Add a new API function to check for supported payload format from header, have
rpmtsAddInstallElement() check and fail if not. Check for tsadd failure
on src.rpm install as well.
2007-05-24 10:56:53 +03:00
Panu Matilainen 932673b787 Remove hardcoded RH GPG-keys from the source. 2007-05-23 12:12:07 +03:00
Panu Matilainen ff0620c3ea Raise an exception if adding an install/upgrade element to transaction fails. 2007-05-23 10:27:15 +03:00
Panu Matilainen d9281caad5 More informative error message when lstat() in verification fails.
Eg when running verification as non-root, it can lead to confusing results
until you realize you didn't have permission to verify the file.

Patch originally from OpenSuSE, slightly modified.
2007-05-23 08:40:22 +03:00
Panu Matilainen b1c7f449f6 Small TODO-update. 2007-05-18 16:25:02 +03:00
Paul Nasrat b73bea1478 Emit diff headers (#237561)
Patch derived from Ville Skytta
2007-05-17 11:06:55 +01:00
Peter Jones de2e849ede - let diff arguments be specified in the environment 2007-05-16 10:59:15 -04:00
Paul Nasrat 832fe4f018 dbmatch keys can be unicode objects also (#219008)
Jeremy Katz <katzj@redhat.com>
2007-05-16 14:45:24 +01:00
Panu Matilainen 485c8dac0d Do not run pre/posttrans scripts in test mode.
Patch from OpenSuSE.
2007-05-16 16:22:01 +03:00
Panu Matilainen 9358ce594f Deal with bad lines in --setperms and --setugids.
Happens for example if a package is not installed (--pipe also captures stderr).

Patch from OpenSuSE.
2007-05-16 16:19:18 +03:00
Panu Matilainen 2c080c1187 Make rebuilddb work with the --root option.
Patch from OpenSuSE.
2007-05-16 16:18:05 +03:00
Panu Matilainen 7e796f6f52 Fix building without Lua support.
Patch from OpenSuSE.
2007-05-16 16:16:45 +03:00
pmatilai@dhcp115.koti.laiskiainen.org 9909fef073 - initial TODO for collecting future ideas 2007-05-14 16:52:48 +03:00
Paul Nasrat 45d2eff6fd Remove SELinux context verification (#193488) 2007-05-10 13:20:11 +01:00
Paul Nasrat a94e9ed5c5 Add mono req/provides support
Alexander Larsson alexl@redhat.com
2007-05-10 13:15:34 +01:00
Paul Nasrat c3524d91c7 Use older perl helper scripts by default 2007-05-10 13:08:38 +01:00
Paul Nasrat e07026a8eb Add patch to treat changelog as list 2007-05-10 12:35:49 +01:00