From 3c4f9413a760fa2dc26c140a08e1d11cf46ac6e7 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mar 29 2022 20:41:15 +0000 Subject: Version 251-rc1 --- diff --git a/21705.patch b/21705.patch deleted file mode 100644 index 51d5714..0000000 --- a/21705.patch +++ /dev/null @@ -1,29 +0,0 @@ -From ca52de3b56d5e70232bee29314cd84f5596c1e7f Mon Sep 17 00:00:00 2001 -From: Daan De Meyer -Date: Thu, 9 Dec 2021 15:46:13 +0100 -Subject: [PATCH] process-util: Fix memory leak - ---- - src/basic/process-util.c | 9 ++++++--- - 1 file changed, 6 insertions(+), 3 deletions(-) - -diff --git a/src/basic/process-util.c b/src/basic/process-util.c -index 1b96d3ca8543..c97185215847 100644 ---- a/src/basic/process-util.c -+++ b/src/basic/process-util.c -@@ -221,9 +221,12 @@ int get_process_cmdline(pid_t pid, size_t max_columns, ProcessCmdlineFlags flags - return -ENOMEM; - - /* Drop trailing empty strings. See issue #21186. */ -- STRV_FOREACH_BACKWARDS(p, args) -- if (isempty(*p)) -- *p = mfree(*p); -+ STRV_FOREACH_BACKWARDS(p, args) { -+ if (!isempty(*p)) -+ break; -+ -+ *p = mfree(*p); -+ } - - ans = quote_command_line(args, shflags); - if (!ans) diff --git a/libsystemd-shared.abignore b/libsystemd-shared.abignore index e412d8b..6a33b88 100644 --- a/libsystemd-shared.abignore +++ b/libsystemd-shared.abignore @@ -1,3 +1,3 @@ [suppress_file] -# This shared object is private to systemd -file_name_regexp=libsystemd-shared-.*.so +# Those shared objects are private to systemd +file_name_regexp=libsystemd-(shared|core)-.*.so diff --git a/sources b/sources index 59fb38c..38f213c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (systemd-250.4.tar.gz) = 307ed0920da660b6c45d909fea66864fb98db8b2f6905d629fb2012fc4bf64dd25fd61168c22bf4098200be541be9b0e815fbde98806a99c85cb33d49d8b63d0 +SHA512 (systemd-251-rc1.tar.gz) = 724de2d923acfca8c1ebf5dd3042fa9d212c2d7aa5c0fcc528abec0c872af53af9d5f829aac63fe51af29a62d6f7ba9f215b32ebf05e84aa6ee89d723c7341e7 diff --git a/split-files.py b/split-files.py index 9b6e9f7..958154e 100644 --- a/split-files.py +++ b/split-files.py @@ -58,7 +58,7 @@ for file in files(buildroot): o = o_rpm_macros elif '/usr/lib/systemd/tests' in n: o = o_tests - elif re.search(r'/libsystemd-shared-.*\.so$', n): + elif re.search(r'/libsystemd-(shared|core)-.*\.so$', n): o = o_main elif re.search(r'/libcryptsetup-token-systemd-.*\.so$', n): o = o_udev diff --git a/systemd.spec b/systemd.spec index 724d16e..f63dd9d 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1,7 +1,7 @@ #global commit c4b843473a75fb38ed5bf54e9d3cfb1cb3719efa %{?commit:%global shortcommit %(c=%{commit}; echo ${c:0:7})} -%global stable 1 +#global stable 1 # We ship a .pc file but don't want to have a dep on pkg-config. We # strip the automatically generated dep here and instead co-own the @@ -30,8 +30,8 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd %if %{without inplace} -Version: 250.4 -Release: 2%{?dist} +Version: 251~rc1 +Release: 1%{?dist} %else # determine the build information from local checkout Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/') @@ -518,7 +518,9 @@ CONFIGURE_OPTS=( -Db_lto=%[%{with lto}?"true":"false"] -Db_ndebug=false -Dman=true - -Dversion-tag=v%{version}-%{release} + -Dversion-tag=v%{version_no_tilde}-%{release} + # https://bugzilla.redhat.com/show_bug.cgi?id=1906010 + -Dshared-lib-tag=%{version_no_tilde}-%{release} -Dfallback-hostname=%[0%{?fedora}?"fedora":"localhost"] -Ddefault-dnssec=no -Ddefault-dns-over-tls=no @@ -1004,6 +1006,10 @@ fi %files standalone-sysusers -f .file-list-standalone-sysusers %changelog +* Tue Mar 29 2022 Zbigniew Jędrzejewski-Szmek - 251~rc1-1 +- First release candidate in the new cycle +- Fixes rhbz#1449751, rhbz#1906010 + * Fri Mar 18 2022 Zbigniew Jędrzejewski-Szmek - 250.4-2 - Fix the wrong file assignment done in previous version