public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bsh] epel10: Replace perl usage with sed
@ 2026-07-15 9:36 Michael Simacek
0 siblings, 0 replies; only message in thread
From: Michael Simacek @ 2026-07-15 9:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bsh
Branch : epel10
Commit : 7fad1b4523dbe9e5702ab28913d5a0b81da4c6f3
Author : Michael Simacek <msimacek@redhat.com>
Date : 2016-07-21T14:52:08+02:00
Stats : +16/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bsh/c/7fad1b4523dbe9e5702ab28913d5a0b81da4c6f3?branch=epel10
Log:
Replace perl usage with sed
---
diff --git a/bsh.spec b/bsh.spec
index 3a162f1..786d51a 100644
--- a/bsh.spec
+++ b/bsh.spec
@@ -30,7 +30,7 @@
Name: bsh
Version: 1.3.0
-Release: 34%{?dist}
+Release: 35%{?dist}
Epoch: 0
Summary: Lightweight Scripting for Java
License: (SPL or LGPLv2+) and Public Domain
@@ -45,7 +45,10 @@ Source3: %{name}-desktop.desktop
Patch0: %{name}-build.patch
Patch1: %{name}-xsl-fixes.patch
BuildRequires: java-devel
-BuildRequires: ant, bsf, ImageMagick, desktop-file-utils
+BuildRequires: ant
+BuildRequires: bsf
+BuildRequires: ImageMagick
+BuildRequires: desktop-file-utils
BuildRequires: servlet
Requires: java-headless
Requires: bsf
@@ -54,20 +57,20 @@ BuildArch: noarch
%description
BeanShell is a small, free, embeddable, Java source interpreter with
-object scripting language features, written in Java. BeanShell
+object scripting language features, written in Java. BeanShell
executes standard Java statements and expressions, in addition to
-obvious scripting commands and syntax. BeanShell supports scripted
+obvious scripting commands and syntax. BeanShell supports scripted
objects as simple method closures like those in Perl and
-JavaScript(tm). You can use BeanShell interactively for Java
+JavaScript(tm). You can use BeanShell interactively for Java
experimentation and debugging or as a simple scripting engine for your
-applications. In short: BeanShell is a dynamically interpreted Java,
-plus some useful stuff. Another way to describe it is to say that in
+applications. In short: BeanShell is a dynamically interpreted Java,
+plus some useful stuff. Another way to describe it is to say that in
many ways BeanShell is to Java as Tcl/Tk is to C: BeanShell is
embeddable - You can call BeanShell from your Java applications to
execute Java code dynamically at run-time or to provide scripting
-extensibility for your applications. Alternatively, you can call your
+extensibility for your applications. Alternatively, you can call your
Java applications and objects from BeanShell; working with Java
-objects and APIs dynamically. Since BeanShell is written in Java and
+objects and APIs dynamically. Since BeanShell is written in Java and
runs in the same space as your application, you can freely pass
references to "real live" objects into scripts and return them as
results.
@@ -165,7 +168,7 @@ convert src/bsh/util/lib/icon.gif \
# demo
for i in `find tests -name \*.bsh`; do
- perl -p -i -e 's,^\n?#!(/(usr/)?bin/java bsh\.Interpreter|/bin/sh),#!/usr/bin/env %{_bindir}/%{name},' $i
+ sed -ri '1s,^#!(/(usr/)?bin/java bsh\.Interpreter|/bin/sh),#!/usr/bin/env %{_bindir}/%{name},' $i
if head -1 $i | grep '#!/usr/bin/env %{_bindir}/%{name}' >/dev/null; then
chmod 755 $i
fi
@@ -239,6 +242,9 @@ fi
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%changelog
+* Thu Jul 21 2016 Michael Simacek <msimacek@redhat.com> - 0:1.3.0-35
+- Replace perl usage with sed
+
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.3.0-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-15 9:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 9:36 [rpms/bsh] epel10: Replace perl usage with sed Michael Simacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox