public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Simacek <msimacek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/bsh] epel10: Replace perl usage with sed
Date: Wed, 15 Jul 2026 09:36:30 GMT	[thread overview]
Message-ID: <178410819020.1.10341064294328216020.rpms-bsh-7fad1b4523db@fedoraproject.org> (raw)

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
 

                 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=178410819020.1.10341064294328216020.rpms-bsh-7fad1b4523db@fedoraproject.org \
    --to=msimacek@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