Otherwise the extension will never have the correct size if
the repo does not get rewritten because of missing file provides.
#ifdef ENABLE_APPDATA
#include "repo_appdata.h"
#endif
+#ifdef SUSE
+#include "repo_autopattern.h"
+#endif
#include "repoinfo.h"
#include "repoinfo_cache.h"
}
fclose(fp);
}
+#endif
+#ifdef SUSE
+ repo_add_autopattern(repo, 0);
#endif
data = repo_add_repodata(repo, 0);
repodata_extend_block(data, repo->start, repo->end - repo->start);
#ifdef ENABLE_APPDATA
#include "repo_appdata.h"
#endif
+#ifdef SUSE
+#include "repo_autopattern.h"
+#endif
#include "repoinfo.h"
#include "repoinfo_cache.h"
}
#endif
repo_internalize(repo);
+#ifdef SUSE
+ repo_add_autopattern(repo, 0);
+#endif
data = repo_add_repodata(repo, 0);
repodata_extend_block(data, repo->start, repo->end - repo->start);
susetags_add_ext(repo, data);