------------------------------------------------------------------- Mon May 13 18:03:23 UTC 2024 - Matej Cepl - Add fix_test_reader_this_machine.patch to make test_reader_this_machine pass in the limited build environment. - Do not pull in whole systemd, when just libsystemd0 is enough (bsc#1215538). ------------------------------------------------------------------- Sun Jun 11 14:08:18 UTC 2023 - ecsos - Add %{?sle15_python_module_pythons} ------------------------------------------------------------------- Wed Aug 17 09:03:29 UTC 2022 - Matej Cepl - Add OBS_missing_etc_machine_id.patch to partially fix gh#systemd/python-systemd#118. ------------------------------------------------------------------- Wed Aug 17 05:49:41 UTC 2022 - Matej Cepl - Update to version 235: * Adapt the rename of systemd-activate to systemd-socket-activate performed in systemd 230. * Support for sd_listen_fds_with_names added in systemd 227. * Support for sd_journal_get_cutoff_realtime_usec added in systemd 186. * Make the Reader PY_SSIZE_T_CLEAN for py3.10 compatibility. * id128: update for systemd-243 compatibility and other fixes. * C syntax modernization. A minimum of C99 is assumed. * Fix seek_realtime to work with timezone aware date on Python 3. * journal: add namespace support. * Fixes for memory leaks and documentation. * Support for Python 2 will be removed after this release. - Remove upstreamed 0002-reader-make-PY_SSIZE_T_CLEAN.patch. - Skip two failing tests (gh#systemd/python-systemd#118) ------------------------------------------------------------------- Sun Jul 3 21:14:35 UTC 2022 - Matej Cepl - Remove exclude-tests-on-obs.patch, this is not the way how to do it, besides %python_exec setup.py check doesn't the test suite. - Make tests running properly again ------------------------------------------------------------------- Sun Jul 3 18:00:37 UTC 2022 - Arjen de Korte - 0002-reader-make-PY_SSIZE_T_CLEAN.patch added to fix boo#1200686 reader: make PY_SSIZE_T_CLEAN ------------------------------------------------------------------- Sun Feb 2 14:05:14 UTC 2020 - Dominique Leuenberger - BuildRequire pkgconfig(libsystemd) instead of systemd-devel: allow OBS to shortcut through the -mini flavors. ------------------------------------------------------------------- Tue Nov 14 12:47:02 UTC 2017 - mpluskal@suse.com - Use more of python building macros - Do not build documentation (build is broken if /usr/bin/python is not present anyways) - Run spec-cleaner ------------------------------------------------------------------- Mon Nov 6 18:15:19 UTC 2017 - jweberhofer@weberhofer.at - iso-c-90.patch added to fix building on SLE12-SP3 ------------------------------------------------------------------- Sat Oct 7 13:20:19 UTC 2017 - sebix+novell.com@sebix.at - singlespec ------------------------------------------------------------------- Mon Jun 26 09:17:01 UTC 2017 - jweberhofer@weberhofer.at - exclude-tests-on-obs.patch: Exclude test which fail because of a bug in the OBS: https://github.com/openSUSE/obs-build/pull/351 - Upgrade to release 234 * _daemon,_reader: return ENOSYS instead of NotImplemented * _daemon: allow specifying flowinfo * Added section for installation on openSUSE & SLE * Adjust import order, spacing, operators as recommended by pylint * build-sys: add sign and upload targets * daemon: add basic support for sd_is_socket_sockaddr * daemon: add wrapper for sd_is_socket_sockaddr and tests * daemon: properly skip sd_is_socket_sockaddr calls if not available * Fix handling of addresses without port and add tests * Fix styling to match PEP8 in most places * Improve test skipping on old systems * Include all fields from record * journal: do not convert extra args to string in JournalHandler * journal: fix repr of JournalHandler to match python3.6 * journal: improve docstring formatting a bit * journal: rename SENDER_FUNCTION to sender_function * Makefile: add "doc" target for convenience * Makefile: add convenience "shell" target to start python shell * Makefile: remove unneeded -I/usr/include from flags * Makefile: use $(INCLUDE_DIR) also for compilation * Prevent non-str values from being concatenated with + * Python 3.6 invalid escape sequence deprecation fixes * Remove mid from JournalHandler * replace dict.iteritems() with dict.items() to support py3 * setup.py: allow LIBSYSTEMD_VERSION to be overridden * test_daemon: xfail test_notify_with_socket if bind() fails * test_journal: add tests for MESSAGE_ID passing * tests: move login tests from doctest to separate file * tests: skip journal.stream tests on ENOENT error * Update to constants from systemd-233 * util: add compatibility for old glibc ------------------------------------------------------------------- Mon Jun 12 05:34:47 UTC 2017 - fbui@suse.com - Upgrade to release 233: + Tests are fixed and should pass on various old and new systems alike. + journal.stream() can be used without arguments and defaults to LOG_LEVEL. - Changes from version 232: + Wrappers for sd_journal_enumerate_unique, has_runtime_files, has_peristent_files. + sd_journal_open_directory_fd, sd_journal_open_files_fd can be used by passing file descriptors to the initializer as the path or files arguments. ------------------------------------------------------------------- Mon Jan 2 11:48:12 UTC 2017 - sebix+novell.com@sebix.at - add doc package ------------------------------------------------------------------- Sat Oct 31 21:17:21 UTC 2015 - jweberhofer@weberhofer.at - Upgrade to release 231 * Various build fixes and cleanups: documentation can be generated with 'make sphinx-html', pip install works out of the box. * Tests that cover most of the python code were added. As a result, a bug in sd_is_mq was fixed in systemd 227. * Functions sd_pid_notify and sd_pid_notify_with_fds are now wrapped as optional arguments to notify(), when compiled against a new-enough libsystemd. - Run tests - Removed obsolete python-systemd-libraries-for-opensuse-1310.patch patch - New build dependencies had been added ------------------------------------------------------------------- Thu Oct 22 06:47:42 UTC 2015 - jweberhofer@weberhofer.at - python-systemd-libraries-for-opensuse-1310.patch allows compilation on openSUSE 13.1 ------------------------------------------------------------------- Mon Oct 19 06:20:31 UTC 2015 - jweberhofer@weberhofer.at - Initial release 230 - This package is needed to resolve bnc#917818 - fail2ban can not use systemd-journal to ban ips