public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Resolves: #2160957 Fix st_mode in struct stat of registry file with rpm -Va
Date: Sun, 31 May 2026 02:08:04 GMT	[thread overview]
Message-ID: <178019328423.1.2013570652223689253.rpms-ibus-2644596728d5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 2644596728d57dbe6ffb5be0e440815df05ca263
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2023-01-17T17:04:07+09:00
Stats  : +8/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/2644596728d57dbe6ffb5be0e440815df05ca263?branch=autotool

Log:
Resolves: #2160957 Fix st_mode in struct stat of registry file with rpm -Va

---
diff --git a/ibus.spec b/ibus.spec
index 830443e..ba16a10 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -50,7 +50,7 @@
 
 Name:           ibus
 Version:        1.5.27
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPL-2.0-or-later
 URL:            https://github.com/ibus/%name/wiki
@@ -373,6 +373,10 @@ done
 install -pm 644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_xinputconf}
 
 install -m 755 -d $RPM_BUILD_ROOT%pkgcache/bus
+# `rpm -Vaq ibus` compare st_mode of struct stat with lstat(2) and
+# st_mode of the RPM cache and if the file does not exist, st_mode of
+# RPM cache is o0100000 while the actual st_mode is o0100644.
+touch $RPM_BUILD_ROOT%pkgcache/bus/registry
 
 # install .desktop files
 %if %with_python2
@@ -554,6 +558,9 @@ dconf update || :
 %{_datadir}/installed-tests/ibus
 
 %changelog
+* Tue Jan 17 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.27-12
+- Resolves: #2160957 Fix st_mode in struct stat of registry file with rpm -Va
+
 * Thu Jan 12 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.27-11
 - Refactor surrounding text warning
 

                 reply	other threads:[~2026-05-31  2:08 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=178019328423.1.2013570652223689253.rpms-ibus-2644596728d5@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --cc=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