public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mikolaj Izdebski <mizdebsk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: Install desktop icon to pixmaps instead of icons
Date: Wed, 15 Jul 2026 09:36:33 GMT [thread overview]
Message-ID: <178410819350.1.667717828951960072.rpms-bsh-65b009860ee7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bsh
Branch : epel10
Commit : 65b009860ee7eca46a74fd229ab27de7e803d15a
Author : Mikolaj Izdebski <mizdebsk@redhat.com>
Date : 2017-03-03T13:04:39+01:00
Stats : +7/-17 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bsh/c/65b009860ee7eca46a74fd229ab27de7e803d15a?branch=epel10
Log:
Install desktop icon to pixmaps instead of icons
---
diff --git a/bsh.spec b/bsh.spec
index 448d035..be29400 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -32,7 +32,7 @@
Name: bsh
Version: 2.0
-Release: 4.%{reltag}%{?dist}
+Release: 5.%{reltag}%{?dist}
Epoch: 0
Summary: Lightweight Scripting for Java
URL: http://www.beanshell.org/
@@ -125,9 +125,9 @@ ant test dist
# menu entry
desktop-file-install --mode=644 \
--dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
-install -d -m 755 %{buildroot}%{_datadir}/icons/hicolor/16x16/apps
+install -d -m 755 %{buildroot}%{_datadir}/pixmaps
convert src/bsh/util/lib/icon.gif \
- %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/bsh.png
+ %{buildroot}%{_datadir}/pixmaps/bsh.png
install -d -m 755 %{buildroot}%{_datadir}/%{name}
install -d -m 755 %{buildroot}%{_datadir}/%{name}/webapps
@@ -143,25 +143,12 @@ install -d %{buildroot}%{_bindir}
echo '#!%{_bindir}/bsh' > %{buildroot}%{_bindir}/bshdoc
cat scripts/bshdoc.bsh >> %{buildroot}%{_bindir}/bshdoc
-%post
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
- /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
-
%files -f .mfiles
%license LICENSE NOTICE
%doc README.md src/Changes.html src/CodeMap.html docs/faq/faq.html
%attr(0755,root,root) %{_bindir}/%{name}*
%{_datadir}/applications/%{name}-desktop.desktop
-%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
+%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}
%files manual
@@ -174,6 +161,9 @@ fi
%license LICENSE NOTICE
%changelog
+* Fri Mar 3 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.0-5.b6
+- Install desktop icon to pixmaps instead of icons
+
* Fri Mar 3 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.0-4.b6
- Fix directory ownership
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=178410819350.1.667717828951960072.rpms-bsh-65b009860ee7@fedoraproject.org \
--to=mizdebsk@redhat.com \
--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