From: Zbigniew Jędrzejewski-Szmek Date: Wed, 6 Mar 2013 18:19:45 +0000 (-0500) Subject: libsystemd-journal: export new function, increase library version X-Git-Tag: v198~49 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=9304ef91c563263cfd914fb32b6ca118bf60d60e libsystemd-journal: export new function, increase library version Since sd_journal_reliable_fd wasn't exported before, it is as if it was added now. Library "current" number must be bumped. michich> Someone links with the fixed version and produces a RPM with his program. The RPM will happily install on a system with an old systemd version (the deps will appear fine), but the program will fail to run. --- diff --git a/Makefile.am b/Makefile.am index a7b9e7f12..7b1bac5e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,9 +51,9 @@ LIBSYSTEMD_ID128_CURRENT=0 LIBSYSTEMD_ID128_REVISION=17 LIBSYSTEMD_ID128_AGE=0 -LIBSYSTEMD_JOURNAL_CURRENT=7 -LIBSYSTEMD_JOURNAL_REVISION=1 -LIBSYSTEMD_JOURNAL_AGE=7 +LIBSYSTEMD_JOURNAL_CURRENT=8 +LIBSYSTEMD_JOURNAL_REVISION=0 +LIBSYSTEMD_JOURNAL_AGE=8 # Dirs of external packages dbuspolicydir=@dbuspolicydir@ diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym index 67741770c..fbe41501f 100644 --- a/src/journal/libsystemd-journal.sym +++ b/src/journal/libsystemd-journal.sym @@ -83,9 +83,13 @@ global: LIBSYSTEMD_JOURNAL_196 { global: - sd_journal_reliable_fd; sd_journal_get_catalog; sd_journal_get_catalog_for_message_id; sd_journal_set_data_threshold; sd_journal_get_data_threshold; } LIBSYSTEMD_JOURNAL_195; + +LIBSYSTEMD_JOURNAL_198 { +global: + sd_journal_reliable_fd; +} LIBSYSTEMD_JOURNAL_196;