...and finally eliminate the spec crapola from transaction set for good
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 1 Sep 2010 14:20:22 +0000 (17:20 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 1 Sep 2010 14:20:48 +0000 (17:20 +0300)
lib/rpmts.c
lib/rpmts.h
lib/rpmts_internal.h

index d225f83..30cf2ab 100644 (file)
@@ -820,18 +820,6 @@ rpmtransFlags rpmtsSetFlags(rpmts ts, rpmtransFlags transFlags)
     return otransFlags;
 }
 
-rpmSpec rpmtsSpec(rpmts ts)
-{
-    return ts->spec;
-}
-
-rpmSpec rpmtsSetSpec(rpmts ts, rpmSpec spec)
-{
-    rpmSpec ospec = ts->spec;
-    ts->spec = spec;
-    return ospec;
-}
-
 rpm_color_t rpmtsColor(rpmts ts)
 {
     return (ts != NULL ? ts->color : 0);
index a3d1cf6..4bae9e1 100644 (file)
@@ -482,21 +482,6 @@ rpmtransFlags rpmtsFlags(rpmts ts);
 rpmtransFlags rpmtsSetFlags(rpmts ts, rpmtransFlags transFlags);
 
 /** \ingroup rpmts
- * Get spec control structure from transaction set.
- * @param ts           transaction set
- * @return             spec control structure
- */
-rpmSpec rpmtsSpec(rpmts ts);
-
-/** \ingroup rpmts
- * Set a spec control structure in transaction set.
- * @param ts           transaction set
- * @param spec         new spec control structure
- * @return             previous spec control structure
- */
-rpmSpec rpmtsSetSpec(rpmts ts, rpmSpec spec);
-
-/** \ingroup rpmts
  * Retrieve color bits of transaction set.
  * @param ts           transaction set
  * @return             color bits
index 42c3c27..5d7fbd7 100644 (file)
@@ -62,8 +62,6 @@ struct rpmts_s {
 
     struct rpmop_s ops[RPMTS_OP_MAX];
 
-    rpmSpec spec;              /*!< Spec file control structure. */
-
     rpmPlugins plugins;                /*!< Transaction plugins */
 
     int nrefs;                 /*!< Reference count. */