public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lazarus] multiple-IDE-widgetsets: Remove obsolete scriptlets
@ 2026-07-23  8:17 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-07-23  8:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/lazarus
            Branch : multiple-IDE-widgetsets
            Commit : 2ec6e9a962507ab1111141a939db500be8af1c8a
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-01-29T06:05:03+01:00
            Stats  : +0/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/lazarus/c/2ec6e9a962507ab1111141a939db500be8af1c8a?branch=multiple-IDE-widgetsets

            Log:
            Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/lazarus.spec b/lazarus.spec
index 8e4057e..8913a83 100644
--- a/lazarus.spec
+++ b/lazarus.spec
@@ -99,19 +99,6 @@ pushd lazarus/lcl/interfaces/qt5/cbindings/
     %make_install INSTALL_ROOT=%{buildroot}
 popd
 
-%post
-/usr/bin/update-desktop-database -q &> /dev/null || :
-/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
-
-%postun
-/usr/bin/update-desktop-database -q &> /dev/null ||:
-if [ $1 -eq 0 ] ; then
-  /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
-fi
-
-%posttrans
-/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
-
 %files
 %{_libdir}/%{name}
 %{_bindir}/%{name}-ide

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

only message in thread, other threads:[~2026-07-23  8:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23  8:17 [rpms/lazarus] multiple-IDE-widgetsets: Remove obsolete scriptlets Igor Gnatenko

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