diff --git a/src/packaging/eopkg.c b/src/packaging/eopkg.c index c3f5187..fd93ca9 100644 --- a/src/packaging/eopkg.c +++ b/src/packaging/eopkg.c @@ -149,7 +149,7 @@ bool eopkg_is_ignored(struct source_package_t *pkg, char *id) bool eopkg_is_package(const char *filename) { - return g_str_has_suffix((const gchar*)filename, "pspec.xml") || g_str_has_prefix((const gchar*)filename, "pspec_x86_64.xml"); + return g_str_has_suffix((const gchar*)filename, "pspec.xml") || g_str_has_suffix((const gchar*)filename, "pspec_x86_64.xml"); } void eopkg_locate_sources(const char *directory, bool recurse)