summaryrefslogtreecommitdiff
path: root/build/rpmbuild_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-29 10:12:53 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-29 10:12:53 +0300
commitb4bc5e778e14027dd6057276a353c32baa64bd97 (patch)
tree320314f0b223130e7783db30fc2e515fd78ab1d1 /build/rpmbuild_internal.h
parentd874afb5cde620c6f409b0c1a0ee31ccf6f30ce8 (diff)
downloadlibrpm-tizen-b4bc5e778e14027dd6057276a353c32baa64bd97.tar.gz
librpm-tizen-b4bc5e778e14027dd6057276a353c32baa64bd97.tar.bz2
librpm-tizen-b4bc5e778e14027dd6057276a353c32baa64bd97.zip
Eliminate unused spectag and speclines goo from spec
- These were used, back in the day, to implement a hidden --specedit switch, which in all its glory did: print a copy of a spec file, with group, summary and description looked up from specspo. This huge pile of junk was left behind from kicking out the useless "feature" in commits 7b95061d3b77d8e6b3c80e856b66f49b393511ba and 0f991a14209054da7c45c46e96750738fc62874d.
Diffstat (limited to 'build/rpmbuild_internal.h')
-rw-r--r--build/rpmbuild_internal.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/build/rpmbuild_internal.h b/build/rpmbuild_internal.h
index 1c588709b..f0b2e46e1 100644
--- a/build/rpmbuild_internal.h
+++ b/build/rpmbuild_internal.h
@@ -19,26 +19,6 @@ typedef struct ReadLevelEntry {
struct ReadLevelEntry * next;
} RLE_t;
-typedef struct spectag_s {
- int t_tag;
- int t_startx;
- int t_nlines;
- char * t_lang;
- char * t_msgid;
-} * spectag;
-
-struct spectags_s {
- spectag st_t;
- int st_nalloc;
- int st_ntags;
-};
-
-struct speclines_s {
- char **sl_lines;
- int sl_nalloc;
- int sl_nlines;
-};
-
/** \ingroup rpmbuild
*/
struct Source {
@@ -49,8 +29,6 @@ struct Source {
struct Source * next;
};
-typedef struct spectags_s * spectags;
-typedef struct speclines_s * speclines;
typedef struct Package_s * Package;
/** \ingroup rpmbuild
@@ -62,9 +40,6 @@ struct rpmSpec_s {
char * buildSubdir;
const char * rootDir;
- speclines sl;
- spectags st;
-
struct OpenFileInfo * fileStack;
char lbuf[10*BUFSIZ];
char *lbufPtr;
@@ -291,16 +266,6 @@ RPM_GNUC_INTERNAL
rpmRC rpmCharCheck(rpmSpec spec, char *field, size_t fsize, const char *whitelist);
/** \ingroup rpmbuild
- * stashSt.
- * @param spec spec file control structure
- * @param h header
- * @param tag tag
- * @param lang locale
- */
-RPM_GNUC_INTERNAL
-spectag stashSt(rpmSpec spec, Header h, rpmTagVal tag, const char * lang);
-
-/** \ingroup rpmbuild
* Parse dependency relations from spec file and/or autogenerated output buffer.
* @param spec spec file control structure
* @param pkg package control structure