public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bup] f45: Added a work-around for a bug in systemd's %systemd_user_post macro.
Date: Fri, 23 Oct 2026 00:35:33 GMT	[thread overview]
Message-ID: <179271573347.1.13128746433827268049.rpms-bup-558f8a432fa6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bup
Branch : f45
Commit : 558f8a432fa63fd6e8f98ecb5e321ea99dfa5ba7
Author : Tadej Janež <tadej.j@nez.si>
Date   : 2015-12-14T22:12:03+01:00
Stats  : +7/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bup/c/558f8a432fa63fd6e8f98ecb5e321ea99dfa5ba7?branch=f45

Log:
Added a work-around for a bug in systemd's %systemd_user_post macro.

---
diff --git a/bup.spec b/bup.spec
index 87ee5f4..a53bcd7 100644
--- a/bup.spec
+++ b/bup.spec
@@ -132,7 +132,11 @@ make test PYTHON=%{__python2}
 
 
 %post web
-%systemd_user_post bup-web.service
+# NOTE: %%systemd_user_post macro is currently broken.
+# Upstream pull request: https://github.com/systemd/systemd/pull/1986
+# After resolving this upstream, replace the line below with:
+# %%systemd_user_post bup-web.service
+%systemd_post \\--user \\--global bup-web.service
 
 
 %preun web
@@ -162,9 +166,10 @@ make test PYTHON=%{__python2}
 
 
 %changelog
-* Wed Oct 21 2015 Tadej Janež <tadej.j@nez.si> 0.27-0.3
+* Sun Nov 22 2015 Tadej Janež <tadej.j@nez.si> 0.27-0.3
 - Split bup web server into a separate sub-package.
 - Added systemd service for running the bup web server.
+- Added a work-around for a bug in systemd's %%systemd_user_post macro.
 
 * Wed Oct 14 2015 Tadej Janež <tadej.j@nez.si> 0.27-0.2
 - Added perl(Time::HiRes) to BuildRequires since it is required for running the

                 reply	other threads:[~2026-10-23  0:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179271573347.1.13128746433827268049.rpms-bup-558f8a432fa6@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox