public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/unixODBC] rawhide: Make all scriptlets always exit 0, per policy
@ 2026-08-11 6:22 Adam Williamson
0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-08-11 6:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/unixODBC
Branch : rawhide
Commit : 6998dc5e0ec1d3738c8b5ec26180e2d9ce9842f6
Author : Adam Williamson <awilliam@redhat.com>
Date : 2026-08-07T09:05:49-07:00
Stats : +3/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/unixODBC/c/6998dc5e0ec1d3738c8b5ec26180e2d9ce9842f6?branch=rawhide
Log:
Make all scriptlets always exit 0, per policy
Beyond the fix in the previous commit, it is Fedora packaging
policy that all scriptlets must be made to always exit 0:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_syntax
This uses the recommended syntax from the policy to ensure
scriptlets always exit 0.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
diff --git a/unixODBC.spec b/unixODBC.spec
index 10debf1..9ae1278 100644
--- a/unixODBC.spec
+++ b/unixODBC.spec
@@ -228,15 +228,15 @@ fi
%dir %{_sysconfdir}/odbc/odbcinst.d
%post -n odbcinst-generate
-odbcinst-generate
+odbcinst-generate || :
# Regenerate odbcinst.ini when driver packages install drop-in snippets
%transfiletriggerin -n odbcinst-generate -- %{_prefix}/lib/odbc/odbcinst.d %{_sysconfdir}/odbc/odbcinst.d
-odbcinst-generate
+odbcinst-generate || :
# Regenerate after driver packages are removed
%transfiletriggerpostun -n odbcinst-generate -- %{_prefix}/lib/odbc/odbcinst.d %{_sysconfdir}/odbc/odbcinst.d
-odbcinst-generate
+odbcinst-generate || :
%files devel -f devel-so-list
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 6:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 6:22 [rpms/unixODBC] rawhide: Make all scriptlets always exit 0, per policy Adam Williamson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox