Jindrich Novy
9d43659056
Drop rpmfcFileDep() to simplify things
2008-09-18 15:18:53 +02:00
Jindrich Novy
5225a86631
Move type regression test back to asserts
...
- no need to bother with message translations in this case
2008-09-18 14:58:39 +02:00
Jindrich Novy
74677caa5a
Use proper codes for logging via rpmlog().
2008-09-18 14:58:39 +02:00
Panu Matilainen
1090857728
Force error return if headerLoad() fails
2008-09-18 14:31:47 +03:00
Panu Matilainen
acb135c28b
Document manifest behavior for install options too (rhbz#461354)
2008-09-18 13:24:25 +03:00
Panu Matilainen
06fb56e64f
Kick out references to "Red Hat Linux" out of the manpages, duh :)
...
- RHL hasn't existed in years and rpm isn't specific to RH anyway...
2008-09-18 13:05:19 +03:00
Panu Matilainen
0ba35c7e5c
Update man-page wrt supported query formatter types
2008-09-18 12:38:04 +03:00
Panu Matilainen
9a9f3c3abb
Don't segfault on unknown format specifiers
2008-09-18 12:36:31 +03:00
Panu Matilainen
9da6dce0e6
Add error message on query of unsupported files (rhbz#461362)
2008-09-18 12:15:43 +03:00
Panu Matilainen
a486bcc793
Remove pointless non-NULL check
...
- rpmfiNew() cannot return NULL, and even if it did, we'd be out of here
by the way of rpmfiFC(fi) returning zero before this...
2008-09-18 11:39:42 +03:00
Panu Matilainen
e69e4ebb7a
Save some screen estate by initializing on declaration..
2008-09-18 11:29:58 +03:00
Panu Matilainen
04386244b9
More informative output on ambiguous erase (rhbz#164743)
2008-09-18 10:26:39 +03:00
Panu Matilainen
bb4d56a96d
Fix rpmErase() exit code when arch is specified (rhbz#462631)
...
- essentially the same bug as rhbz#124016 but for erase code
- rpmdbIteratorCount() isn't realiable on RPMDBI_LABEL, we need to walk
the iterator to know if there were actual matches
2008-09-18 10:04:51 +03:00
Panu Matilainen
137acc7355
Kick out double definitions of --(no)dirtokens options
...
- mistakenly added in commit 2f7c913723
2008-09-16 12:08:18 +03:00
Panu Matilainen
0eb396d2ff
Resurrect --nodirtokens build option
...
- this gets somewhat hysterical: we create the filelist as uncompressed,
then compress it for rpmfi which only understands compressed filelist,
and if nodirtokens is used, expand the list again after initializing
rpmfi for cpio/fsm...
2008-09-16 12:03:26 +03:00
Jindrich Novy
55fa1442f8
Avoid asserts and output error instead (rhbz#448939, rhbz#456100)
2008-09-15 16:43:15 +02:00
Jindrich Novy
320c11f653
Use proper return codes in rpmfc.c
2008-09-15 16:43:15 +02:00
Jindrich Novy
b08d25d841
Use proper return codes in files.c
...
- don't go on if processPackageFiles() or rpmfcGenerateDepends() fails
2008-09-15 16:43:15 +02:00
Panu Matilainen
5e7ca9eac4
headerAddEntry() is deprecated, use headerPutString() instead
2008-09-12 15:22:02 +03:00
Panu Matilainen
c094de4d10
Make sure RPMTAG_GROUP is always present in packages
...
- Many things (including LSB and various 3rd party applications) expect
group tag to be present even if they don't actually use it for anything.
rpmbuild doesn't consider it mandatory in specs anymore though, so stick
"Unspecified" in there to avoid breaking things in case spec didn't set it.
2008-09-12 14:56:41 +03:00
Panu Matilainen
1327278138
Fix indentation
2008-09-12 11:38:07 +03:00
Panu Matilainen
9f85707825
Macro argument handling regression regression (rhbz#461180)
...
- commit f366011c42
is too simplistic and
broke other stuff in turn...
2008-09-11 16:56:50 +03:00
Jindrich Novy
5c71ced2da
Don't generate broken cpio in case of hardlink pointing on softlink
...
- thanks to Pixel
2008-09-10 15:04:57 +02:00
Jindrich Novy
ce1db5af70
Fail hard if patch isn't found (rhbz#461347)
2008-09-06 15:30:40 +02:00
Jindrich Novy
f15b7e0996
Add Dutch translation to LINGUAS
2008-09-04 06:36:28 +02:00
Jindrich Novy
18aab133cd
Add initial Dutch translation (rhbz#461060)
2008-09-04 06:36:28 +02:00
Panu Matilainen
a424702c22
Updated German translation from Fabian Affolter
2008-09-02 15:25:17 +03:00
Panu Matilainen
4ff3b11664
--repackage is gone, remove references from French manual too
2008-09-02 14:33:55 +03:00
Panu Matilainen
991600462b
Updated French translation from man-pages-fr
2008-09-02 14:28:35 +03:00
Panu Matilainen
073b1ac2a8
Fix --dump usage description in Japanese manpage translation.
...
Patch from Masahiro Matsuya.
2008-09-02 10:18:41 +03:00
Panu Matilainen
b53ecfb11d
Avoid dumb casts
...
- switch-case on rpmTag enum makes gcc go crazy without a default case
2008-09-02 09:42:32 +03:00
Jindrich Novy
ff7bfd9a32
Create directory structure for rpmbuild prior to build if it doesn't exist
...
- creates all needed directories that rpmbuild uses for input and output
2008-09-01 14:35:34 +02:00
Jindrich Novy
b16df5b308
Create _topdir if it doesn't exist when installing SRPM
...
- otherwise creating _sourcedir and _specdir fails
2008-09-01 14:31:33 +02:00
Jindrich Novy
436aab02e7
Fix type in format string to avoid segfault (rhbz#460146)
2008-08-26 19:03:25 +02:00
Jindrich Novy
1d6ab4edcc
Allow noarch subpackages
...
- inspired by patch from Altlinux
2008-08-26 13:25:21 +02:00
Panu Matilainen
743415bb78
Improve INSTALL documentation wrt NSRP/NSS requirements
2008-08-19 13:45:20 +03:00
Panu Matilainen
79fe0e0e3b
Use standard auto*foo checks for NSS
...
- upstream NSPR/NSS doesn't ship pkg-config files (unfortunately)
- hardcoded guesses are always wrong for somebody, expect builder to
pass in appropriate CPPFLAGS etc
2008-08-19 13:33:21 +03:00
Panu Matilainen
77ecf321bf
Fix segfault on zero-length %policy file
2008-08-14 15:02:52 +03:00
Panu Matilainen
44263ec047
Fix segfault on zero-length rpmrc
2008-08-14 14:28:12 +03:00
Jindrich Novy
3b9636cd69
Accept numerical characters in macro expansion (related to rhbz#456103)
2008-08-14 13:08:09 +02:00
Panu Matilainen
be02cdfa87
Don't fail build on too large but excluded files
2008-08-14 09:57:03 +03:00
Panu Matilainen
9068da47a9
Unbreak payload size tag generation on ppc (rhbz#458817)
2008-08-13 09:43:41 +03:00
Panu Matilainen
fefae4d68e
Macroize configure command/path in %configure (rhbz#458644)
...
- add + use %{_configure} macro defaulting to ./configure, can be overridden
for VPATH builds etc
2008-08-11 15:39:47 +03:00
Panu Matilainen
be56a4a888
Add parenthesis to make gcc happy
2008-08-08 13:53:57 +03:00
Panu Matilainen
17b4187204
Missing include
2008-08-08 13:53:39 +03:00
Panu Matilainen
645184ac39
Remember to free up resources from matchpathcon_init()
2008-08-08 13:06:28 +03:00
Panu Matilainen
dccb80ea38
Fix check for nocontext flag
2008-08-08 13:04:10 +03:00
Panu Matilainen
4537bc35fd
Plug memleak from %pretrans
...
- te->fi needs to be freed if we replace it...
2008-08-08 12:49:41 +03:00
Panu Matilainen
99eb536159
Add key to transaction keyring on rpmtsImportPubkey() (rhbz#457360)
...
- still not 100% identical to pre-keyring behavior but enough for the
common case
- only add keys we don't already have (rhbz#68290)
2008-08-08 09:57:41 +03:00
Panu Matilainen
ff1a549fed
Use rpmPubkey + methods for pubkey header generation
...
- moves some of the lowlevel pubkey fiddling into rpmio where it belongs
2008-08-08 09:32:05 +03:00