summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-15 18:50:46 +0000
committerjbj <devnull@localhost>2002-08-15 18:50:46 +0000
commitc7881d801745b4c156a8aa2afc17b95f97481e34 (patch)
tree9c3b9d3cdbf8dd88bb6f9f6b2b4df87422d2f0da /rpmio
parent622e40678461d27bc8f8b45061bdc4d866a8bdf2 (diff)
downloadlibrpm-tizen-c7881d801745b4c156a8aa2afc17b95f97481e34.tar.gz
librpm-tizen-c7881d801745b4c156a8aa2afc17b95f97481e34.tar.bz2
librpm-tizen-c7881d801745b4c156a8aa2afc17b95f97481e34.zip
- python: explicit method to set transFlags.
- python: stuff package name into a string for repackage callbacks. - rollback: re-create empty transaction set for multiple rollbacks. - fix: %%basename typo (Dmitry V. Levin<ldv@altlinux.org>). - fix: queryformat segfaults (Dmitry V. Levin<ldv@altlinux.org>). CVS patchset: 5639 CVS date: 2002/08/15 18:50:46
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/macro.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index 4610555fb..1498f689b 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -1061,6 +1061,8 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
if (STREQ("basename", f, fn)) {
if ((b = strrchr(buf, '/')) == NULL)
b = buf;
+ else
+ b++;
#if NOTYET
/* XXX watchout for conflict with %dir */
} else if (STREQ("dirname", f, fn)) {