public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@math.unl.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/lazarus] multiple-IDE-widgetsets: update scriptlets
Date: Thu, 23 Jul 2026 08:17:42 GMT	[thread overview]
Message-ID: <178479466258.1.16508426746804030081.rpms-lazarus-b372b544913f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/lazarus
Branch : multiple-IDE-widgetsets
Commit : b372b544913f9b20e2c11027ca787ad03747b8f6
Author : Rex Dieter <rdieter@math.unl.edu>
Date   : 2014-08-18T13:27:17-05:00
Stats  : +14/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/lazarus/c/b372b544913f9b20e2c11027ca787ad03747b8f6?branch=multiple-IDE-widgetsets

Log:
update scriptlets

---
diff --git a/lazarus.spec b/lazarus.spec
index 26567e7..ea4f7d1 100644
--- a/lazarus.spec
+++ b/lazarus.spec
@@ -1,6 +1,6 @@
 Name:           lazarus
 Version:        1.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Lazarus Component Library and IDE for Freepascal
 
 Group:          Development/Languages
@@ -68,10 +68,18 @@ chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazreport/tools/localize.sh
 rm -rf %{buildroot}
 
 %post
-update-mime-database %{_datadir}/mime &> /dev/null || :
+update-desktop-database -q &> /dev/null ||:
+touch --no-create %{_datadir}/mime/packages &> /dev/null || :
 
 %postun
-update-mime-database %{_datadir}/mime &> /dev/null || :
+update-desktop-database -q &> /dev/null ||:
+if [ $1 -eq 0 ]; then
+touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+fi
+
+%posttrans
+update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 
 %files
 %defattr(-,root,root,-)
@@ -89,6 +97,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_mandir}/*/*
 
 %changelog
+* Mon Aug 18 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2-4
+- update scriptlets
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 

                 reply	other threads:[~2026-07-23  8:17 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=178479466258.1.16508426746804030081.rpms-lazarus-b372b544913f@fedoraproject.org \
    --to=rdieter@math.unl.edu \
    --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