public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Resolves: #2160957 Fix st_mode in struct stat of registry file with rpm -Va
@ 2026-05-31  2:08 Takao Fujiwara
  0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31  2:08 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:08 [rpms/ibus] autotool: Resolves: #2160957 Fix st_mode in struct stat of registry file with rpm -Va Takao Fujiwara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox