summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-04-13 08:32:49 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-06-11 10:23:54 +0300
commit18ca8246757ebdd6046dea3cb866adaf7cbd692f (patch)
treec0c8e0ad7a0362df8e111af699381fc616a9ac33
parentf9c7db311302d3c03d524b133a372b8a05410d64 (diff)
downloadrpm-18ca8246757ebdd6046dea3cb866adaf7cbd692f.tar.gz
RPMTAG_NOSOURCE and NOPATCH aren't internal, they end up in nosrc headers
(cherry picked from commit 538ddff69cacbd0db346cac3c10171424ae9b229)
-rw-r--r--lib/rpmtag.h4
-rw-r--r--tests/rpmgeneral.at2
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/rpmtag.h b/lib/rpmtag.h
index eb3b1ad30..52c89a2ac 100644
--- a/lib/rpmtag.h
+++ b/lib/rpmtag.h
@@ -128,8 +128,8 @@ typedef enum rpmTag_e {
RPMTAG_REQUIRENAME = 1049, /* s[] */
#define RPMTAG_REQUIRES RPMTAG_REQUIRENAME /* s[] */
RPMTAG_REQUIREVERSION = 1050, /* s[] */
- RPMTAG_NOSOURCE = 1051, /* i internal */
- RPMTAG_NOPATCH = 1052, /* i internal */
+ RPMTAG_NOSOURCE = 1051, /* i */
+ RPMTAG_NOPATCH = 1052, /* i */
RPMTAG_CONFLICTFLAGS = 1053, /* i[] */
RPMTAG_CONFLICTNAME = 1054, /* s[] */
#define RPMTAG_CONFLICTS RPMTAG_CONFLICTNAME /* s[] */
diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at
index 98f86d5af..0fa8f0597 100644
--- a/tests/rpmgeneral.at
+++ b/tests/rpmgeneral.at
@@ -154,6 +154,8 @@ N
NAME
NEVR
NEVRA
+NOPATCH
+NOSOURCE
NVR
NVRA
O