public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rahul Sundaram <sundaram@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
Date: Wed, 15 Jul 2026 09:36:19 GMT	[thread overview]
Message-ID: <178410817937.1.12855575080748227501.rpms-bsh-8f50f3371dcb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bsh
            Branch : epel10
            Commit : 8f50f3371dcb2d96ad3380b8488cf11a2a1340e0
            Author : Rahul Sundaram <sundaram@fedoraproject.org>
            Date   : 2013-02-14T02:21:26-05:00
            Stats  : +11/-17 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bsh/c/8f50f3371dcb2d96ad3380b8488cf11a2a1340e0?branch=epel10

            Log:
            remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247

- clean up spec to follow current guidelines

---
diff --git a/bsh.spec b/bsh.spec
index c2f405e..9841349 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -30,7 +30,7 @@
 
 Name:           bsh
 Version:        1.3.0
-Release:        23%{?dist}
+Release:        24%{?dist}
 Epoch:          0
 Summary:        Lightweight Scripting for Java
 License:        (SPL or LGPLv2+) and Public Domain
@@ -53,7 +53,6 @@ Requires:       jpackage-utils >= 0:1.7.5-3.9
 URL:            http://www.beanshell.org/
 Group:          Development/Libraries
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 BeanShell is a small, free, embeddable, Java source interpreter with
@@ -142,7 +141,6 @@ $ant dist
 %endif
 
 %install
-rm -rf $RPM_BUILD_ROOT
 # jars
 install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
 install -m 644 dist/%{name}-%{version}.jar \
@@ -187,7 +185,7 @@ install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 # menu entry
-desktop-file-install --vendor=fedora --mode=644 \
+desktop-file-install --mode=644 \
   --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE3}
 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
 convert src/bsh/util/lib/icon.gif \
@@ -277,29 +275,25 @@ cat > $RPM_BUILD_ROOT%{_bindir}/%{name}doc << EOF
 EOF
 cat scripts/bshdoc.bsh >> $RPM_BUILD_ROOT%{_bindir}/%{name}doc
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post utils
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
 %post
 %update_maven_depmap
 
 %postun utils
 if [ $1 -eq 0 ] ; then
-    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
-    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
 %postun
 %update_maven_depmap
 
 %posttrans utils
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %files
-%defattr(-,root,root)
 %doc src/Changes.html src/License.txt src/README.txt
 %{_javadir}/*
 %dir %{_datadir}/%{name}
@@ -309,27 +303,27 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %ifnarch ppc64 s390x
 %files manual
-%defattr(-,root,root)
 %doc docs/*
 %endif
 
 %files javadoc
-%defattr(-,root,root)
 %{_javadocdir}/%{name}-%{version}
 %{_javadocdir}/%{name}
 
 %files demo
-%defattr(-,root,root)
 %doc tests/README.txt tests/Interactive/README
 %{_datadir}/%{name}/*
 
 %files utils
-%defattr(-,root,root)
 %attr(0755,root,root) %{_bindir}/%{name}*
-%{_datadir}/applications/*%{name}-desktop.desktop
+%{_datadir}/applications/%{name}-desktop.desktop
 %{_datadir}/icons/hicolor/*x*/apps/%{name}.png
 
 %changelog
+* Thu Feb 14 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0:1.3.0-24
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3.0-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 

                 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=178410817937.1.12855575080748227501.rpms-bsh-8f50f3371dcb@fedoraproject.org \
    --to=sundaram@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