All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: stable-2.02 - rpm: bare words are no longer supported
Date: Fri, 16 Oct 2020 19:12:22 +0000 (GMT)	[thread overview]
Message-ID: <20201016191222.EF817396EC92@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7c262bfc85f62c94421ab2d687c74585c3e27d3f
Commit:        7c262bfc85f62c94421ab2d687c74585c3e27d3f
Parent:        7d3e7266c76591be4b99487c2b1ea61ce525c074
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Fri Oct 2 22:13:51 2020 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Fri Oct 16 18:09:55 2020 +0200

rpm: bare words are no longer supported

Update for new rpm requirement and use "..." words.
---
 spec/macros.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/macros.inc b/spec/macros.inc
index 99ee9a06a..d4e99e6ae 100644
--- a/spec/macros.inc
+++ b/spec/macros.inc
@@ -58,11 +58,11 @@ fi \
 %%if %%{enable_systemd} \
 if [ $1 = 0 ]; then \
 	systemctl --no-reload disable lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
-	%%if %%{-t*} == socket \
+	%%if "%%{-t*}" == "socket" \
 	systemctl --no-reload disable lvm2-%%{-s*}.service > /dev/null 2>&1 || : \
 	%%endif \
 	systemctl stop lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
-	%%if %%{-t*} == socket \
+	%%if "%%{-t*}" == "socket" \
 	systemctl stop lvm2-%%{-s*}.service > /dev/null 2>&1 || : \
 	%%endif \
 fi \



                 reply	other threads:[~2020-10-16 19:12 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=20201016191222.EF817396EC92@sourceware.org \
    --to=zkabelac@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.