public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vym] epel10: Remove obsolete scriptlets
@ 2026-07-20 18:59 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-07-20 18:59 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/vym
            Branch : epel10
            Commit : ce423dcd691552356dc2048c69fded5cd6a1afe9
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-01-27T13:19:52+01:00
            Stats  : +0/-18 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/vym/c/ce423dcd691552356dc2048c69fded5cd6a1afe9?branch=epel10

            Log:
            Remove obsolete scriptlets

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

---
diff --git a/vym.spec b/vym.spec
index 435465b..819c3c3 100644
--- a/vym.spec
+++ b/vym.spec
@@ -87,24 +87,6 @@ install -p -m a+r,u+w %{SOURCE2} %{buildroot}%{_datadir}/mime/packages/vym.xml
 
 mv %{buildroot}/usr/vym %{buildroot}%{_datadir}/vym
 
-%post
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null
-touch --no-create %{_datadir}/mime/packages &> /dev/null || :
-update-desktop-database &> /dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
-    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
-    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
-    touch --no-create %{_datadir}/mime/packages &> /dev/null || :
-    update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
-fi
-update-desktop-database &> /dev/null || :
-
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
-
 %files
 %license LICENSE.txt
 %doc README.md INSTALL.txt demos/* doc/*

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

only message in thread, other threads:[~2026-07-20 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 18:59 [rpms/vym] epel10: 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