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 versionless JARs only
Date: Wed, 15 Jul 2026 09:36:22 GMT [thread overview]
Message-ID: <178410818256.1.11278397736229231809.rpms-bsh-c3cf194a1e7f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bsh
Branch : epel10
Commit : c3cf194a1e7f47e84be7014c6187f79d45ff8b8f
Author : Mikolaj Izdebski <mizdebsk@redhat.com>
Date : 2013-07-10T15:30:59+02:00
Stats : +6/-16 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bsh/c/c3cf194a1e7f47e84be7014c6187f79d45ff8b8f?branch=epel10
Log:
Install versionless JARs only
---
diff --git a/bsh.spec b/bsh.spec
index 1d134a8..b21d3b2 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -133,22 +133,11 @@ $ant test dist
%install
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
-install -m 644 dist/%{name}-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-install -m 644 dist/%{name}-bsf-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-bsf-%{version}.jar
-install -m 644 dist/%{name}-classpath-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-classpath-%{version}.jar
-install -m 644 dist/%{name}-commands-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-commands-%{version}.jar
-install -m 644 dist/%{name}-core-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-core-%{version}.jar
-install -m 644 dist/%{name}-reflect-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-reflect-%{version}.jar
-install -m 644 dist/%{name}-util-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-util-%{version}.jar
-
-(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done)
+for mod in '' bsf classpath commands core reflect util; do
+ install -p -m 644 dist/%{name}${mod:+-${mod}}-%{version}.jar \
+ $RPM_BUILD_ROOT%{_javadir}/%{name}${mod:+-${mod}}.jar
+done
+
%add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
%add_to_maven_depmap org.beanshell %{name} %{version} JPP %{name}
%add_to_maven_depmap %{name} %{name}-bsf %{version} JPP %{name}-bsf
@@ -267,6 +256,7 @@ fi
- Remove Requires on jpackage-utils
- Remove Requires on coreutils
- Generate custom scripts with %%jpackage_script
+- Install versionless JARs only
* Thu Jun 06 2013 Michal Srb <msrb@redhat.com> - 0:1.3.0-25
- Enable tests
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=178410818256.1.11278397736229231809.rpms-bsh-c3cf194a1e7f@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