Eliminate doRmSource() from librpmbuild API again

- buildSpec() is sufficient interface for accomplishing the same,
  avoid exposing internal helpers
This commit is contained in:
Panu Matilainen 2010-08-25 11:04:51 +03:00
parent fd893bf69e
commit 9ed9daf93e
2 changed files with 1 additions and 8 deletions

View File

@ -18,7 +18,7 @@ static int _build_debug = 0;
/**
*/
rpmRC doRmSource(rpmSpec spec)
static rpmRC doRmSource(rpmSpec spec)
{
struct Source *p;
Package pkg;

View File

@ -252,13 +252,6 @@ int parseScript(rpmSpec spec, int parsePart);
*/
int parseExpressionBoolean(rpmSpec spec, const char * expr);
/** \ingroup rpmbuild
* Remove all sources assigned to spec file.
*
* @param spec spec file control structure
* @return RPMRC_OK on success
*/
rpmRC doRmSource(rpmSpec spec);
/** \ingroup rpmbuild
* Run a build script, assembled from spec file scriptlet section.
*