public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Permaine Cheung <pcheung@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: Fix bugzilla 436675. Separate menu entry into desktop subpackage.
Date: Wed, 15 Jul 2026 09:36:09 GMT	[thread overview]
Message-ID: <178410816922.1.15417308774930837328.rpms-bsh-2f294798f181@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bsh
Branch : epel10
Commit : 2f294798f18132a0e324cfe16cb8dc52f85ba0af
Author : Permaine Cheung <pcheung@fedoraproject.org>
Date   : 2008-03-10T13:59:44+00:00
Stats  : +23/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bsh/c/2f294798f18132a0e324cfe16cb8dc52f85ba0af?branch=epel10

Log:
Fix bugzilla 436675. Separate menu entry into desktop subpackage.

---
diff --git a/bsh.spec b/bsh.spec
index e880b33..d77ba5e 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -32,7 +32,7 @@
 
 Name:           bsh
 Version:        1.3.0
-Release:        12jpp.2%{?dist}
+Release:        12jpp.3%{?dist}
 Epoch:          0
 Summary:        Lightweight Scripting for Java
 License:        LGPL
@@ -107,6 +107,14 @@ Requires:       /usr/bin/env
 %description demo
 Demonstrations and samples for %{name}.
 
+%package desktop
+Summary:        %{name} integration for the desktop
+Group:          Development/Java
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description desktop
+Contains a menu entry for %{name}.
+
 %prep
 %setup -q -n BeanShell
 %patch0 -p1
@@ -274,11 +282,13 @@ cat scripts/bshdoc.bsh >> $RPM_BUILD_ROOT%{_bindir}/%{name}doc
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post desktop
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
 fi
+
+%post
 %update_maven_depmap
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -288,11 +298,13 @@ fi
 %endif
 exit 0
 
-%postun
+%postun desktop
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
 fi
+
+%postun
 %update_maven_depmap
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -306,12 +318,9 @@ exit 0
 %defattr(-,root,root)
 %doc src/Changes.html src/License.txt src/README.txt
 %attr(0755,root,root) %{_bindir}/%{name}
-%attr(0755,root,root) %{_bindir}/%{name}-desktop
 %attr(0755,root,root) %{_bindir}/%{name}doc
 %{_javadir}/*
 %dir %{_datadir}/%{name}
-%{_datadir}/applications/*%{name}-desktop.desktop
-%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
 %{_datadir}/%{name}/webapps
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}
@@ -334,7 +343,15 @@ exit 0
 %doc tests/README.txt tests/Interactive/README
 %{_datadir}/%{name}/*
 
+%files desktop
+%attr(0755,root,root) %{_bindir}/%{name}-desktop
+%{_datadir}/applications/*%{name}-desktop.desktop
+%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
+
 %changelog
+* Mon Mar 10 2008 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-12jpp.3
+- Fix bugzilla 436675. Separate menu entry into desktop subpackage.
+
 * Thu Mar 06 2008 Permaine Cheung <pcheung@redhat.com> 0:1.3.0-12jpp.2
 - Fix bugzilla 417491. Thanks Ville Skytta for the patch.
 - Add menu entry and startup script for bsh desktop.

                 reply	other threads:[~2026-07-15  9:36 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=178410816922.1.15417308774930837328.rpms-bsh-2f294798f181@fedoraproject.org \
    --to=pcheung@fedoraproject.org \
    --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