]> git.ipfire.org Git - pakfire.git/commitdiff
file: Remove unused classes
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Oct 2024 08:26:55 +0000 (08:26 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Oct 2024 11:37:55 +0000 (11:37 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/file.c
src/libpakfire/include/pakfire/file.h

index 56f1137ed4982d4ed61663bc54444319c346537b..ba003ee99944286ee76317b8e6c2ee90cd628099 100644 (file)
@@ -1364,8 +1364,6 @@ static const struct pattern {
        { "**.a",  PAKFIRE_FILE_STATIC_LIBRARY },
        { "**.la", PAKFIRE_FILE_LIBTOOL_ARCHIVE },
        { "**.pm", PAKFIRE_FILE_PERL },
-       { "**.pc", PAKFIRE_FILE_PKGCONFIG },
-       { "/usr/lib*/ld-*.so*", PAKFIRE_FILE_RUNTIME_LINKER },
        { NULL },
 };
 
index fd4a27267f8462592cd2174d88b03cf53d5e7b71..7a873676fc41a9145394a9ddcb8d316bd284ea57 100644 (file)
@@ -124,11 +124,9 @@ enum pakfire_file_classes {
 
        // The rest
        PAKFIRE_FILE_ELF             = (1 << 8),
-       PAKFIRE_FILE_PKGCONFIG       = (1 << 9),
        PAKFIRE_FILE_PERL            = (1 << 10),
        PAKFIRE_FILE_STATIC_LIBRARY  = (1 << 11),
        PAKFIRE_FILE_LIBTOOL_ARCHIVE = (1 << 12),
-       PAKFIRE_FILE_RUNTIME_LINKER  = (1 << 14),
 };
 
 int pakfire_file_is_executable(struct pakfire_file* file);